Skip to content

Commit

Permalink
fix: fix types references in plugins module augmentation
Browse files Browse the repository at this point in the history
  • Loading branch information
igordanchenko committed Jul 6, 2024
1 parent 46c779a commit e33fcf9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/plugins/download/index.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
// do not remove the "unused" imports
import { Callback, PLUGIN_DOWNLOAD, RenderFunction, Slide } from "../../index.js";
import { Download } from "./Download.js";

Expand Down
3 changes: 2 additions & 1 deletion src/plugins/thumbnails/index.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import * as React from "react";

import { Callback, PLUGIN_THUMBNAILS, RenderFunction } from "../../index.js";
// do not remove the "unused" imports
import { Callback, ContainerRect, ImageFit, PLUGIN_THUMBNAILS, RenderFunction, Slide } from "../../index.js";
import { Thumbnails } from "./Thumbnails.js";

declare module "../../types.js" {
Expand Down

0 comments on commit e33fcf9

Please sign in to comment.