diff --git a/scripts/create-stubs.js b/scripts/create-stubs.js index e69e3f5e20b5..6b9c9e3f4b79 100644 --- a/scripts/create-stubs.js +++ b/scripts/create-stubs.js @@ -8,5 +8,5 @@ fs.readdirSync('src/runtime') module: './index.mjs' }, null, ' ')); - fs.writeFileSync(`${dir}/index.d.ts`, `export * from '../types/runtime/${dir}/index.d.ts';`); - }); \ No newline at end of file + fs.writeFileSync(`${dir}/index.d.ts`, `export * from '../types/runtime/${dir}/index';`); + });