diff --git a/tsc.js b/tsc.js index 6e5a51c1d..236930f56 100644 --- a/tsc.js +++ b/tsc.js @@ -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.`, );