Skip to content

Commit

Permalink
fix: add module declarations for scripts folder
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiehenson committed Nov 19, 2024
1 parent ef99af3 commit cfe4e2a
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tsc.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,12 @@ dtsFiles.forEach((file) => {
);
});

const additionalModules = ["@ably/ui/core/scripts"];

additionalModules.forEach((module) => {
fs.appendFileSync(indexPath, `declare module '${module}';\n\n`, "utf8");
});

console.log(
`🔬 index.d.ts file has been generated with ${dtsFiles.length} exports.`,
);

0 comments on commit cfe4e2a

Please sign in to comment.