Skip to content

Commit

Permalink
Declare importable modules in TS declarations file
Browse files Browse the repository at this point in the history
  • Loading branch information
caleb531 committed May 29, 2024
1 parent edbbacf commit ff2de9f
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/jcanvas.d.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,15 @@
declare module "jcanvas";
declare module "jcanvas/dist/umd/jcanvas.min.js";
declare module "jcanvas/dist/umd/jcanvas-crescents.min.js";
declare module "jcanvas/dist/umd/jcanvas-donuts.min.js";
declare module "jcanvas/dist/umd/jcanvas-hearts.min.js";
declare module "jcanvas/dist/umd/jcanvas-handles.min.js";
declare module "jcanvas/dist/esm/jcanvas.min.js";
declare module "jcanvas/dist/esm/jcanvas-crescents.min.js";
declare module "jcanvas/dist/esm/jcanvas-donuts.min.js";
declare module "jcanvas/dist/esm/jcanvas-hearts.min.js";
declare module "jcanvas/dist/esm/jcanvas-handles.min.js";

interface JCanvasPluginParams<TProps> {
name: string;
props?: Record<string, any>;
Expand Down

0 comments on commit ff2de9f

Please sign in to comment.