Skip to content

Commit

Permalink
perf(package): up deps
Browse files Browse the repository at this point in the history
  • Loading branch information
antongolub committed Sep 23, 2020
1 parent 28fb144 commit a789614
Show file tree
Hide file tree
Showing 12 changed files with 672 additions and 489 deletions.
2 changes: 1 addition & 1 deletion lib/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -613,7 +613,7 @@ export function bundle(options: Options): BundleResult {
file = path.join(file, 'index.d.ts');
}
const code = fs.readFileSync(file, { encoding: 'utf8' }).replace(bomOptExp, '').replace(/\s*$/, '');
res.indent = detectIndent(code) || indent;
res.indent = (detectIndent(code) || indent) as string;

// buffer multi-line comments, handle JSDoc
let multiComment: string[] = [];
Expand Down
Loading

0 comments on commit a789614

Please sign in to comment.