Skip to content

Commit

Permalink
fix: emit type declarations when building so type info is not lost (#94)
Browse files Browse the repository at this point in the history
  • Loading branch information
dannyhw committed Aug 15, 2020
1 parent d5412fe commit bfac824
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/compile-tsc.js
Expand Up @@ -6,7 +6,7 @@ const shell = require('shelljs');
function getCommand(watch) {
const tsc = path.join(__dirname, '..', 'node_modules', '.bin', 'tsc');

const args = ['--outDir ./dist', '--listEmittedFiles true'];
const args = ['--outDir ./dist', '--listEmittedFiles true', '--declaration true'];

if (watch) {
args.push('-w');
Expand Down

0 comments on commit bfac824

Please sign in to comment.