Skip to content

Commit

Permalink
fix(nuxi): handle missing typescript options in build (nuxt#1972)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe authored Nov 16, 2021
1 parent 86a47a2 commit f3a1ac5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/nuxi/src/utils/prepare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const writeTypes = async (nuxt: Nuxt) => {
module: 'ESNext',
moduleResolution: 'Node',
skipLibCheck: true,
strict: nuxt.options.typescript.strict,
strict: nuxt.options.typescript?.strict ?? false,
allowJs: true,
noEmit: true,
resolveJsonModule: true,
Expand Down

0 comments on commit f3a1ac5

Please sign in to comment.