Skip to content

Commit

Permalink
fix(create-stubs): Fix import '.d.ts'
Browse files Browse the repository at this point in the history
  • Loading branch information
pyoner authored and Conduitry committed Jun 14, 2019
1 parent 7b4af88 commit ac18505
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/create-stubs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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';`);
});
fs.writeFileSync(`${dir}/index.d.ts`, `export * from '../types/runtime/${dir}/index';`);
});

0 comments on commit ac18505

Please sign in to comment.