Skip to content

Commit

Permalink
fix: add strictNullChecks (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
liuyang0826 committed Oct 27, 2022
1 parent 1543502 commit 12709f6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/dts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export async function getDeclarations (vfs: Map<string, string>) {
declaration: true,
incremental: true,
skipLibCheck: true,
strictNullChecks: true,
emitDeclarationOnly: true
}
const tsHost = ts.createCompilerHost!(compilerOptions)
Expand Down

0 comments on commit 12709f6

Please sign in to comment.