diff --git a/nuxt.config.ts b/nuxt.config.ts index 3b17a10..7119b9c 100644 --- a/nuxt.config.ts +++ b/nuxt.config.ts @@ -49,6 +49,8 @@ export default defineNuxtConfig({ tsConfig: { compilerOptions: { verbatimModuleSyntax: false, + strictNullChecks: true, + exactOptionalPropertyTypes: true, }, }, }, diff --git a/tsconfig.json b/tsconfig.json index 5510f18..a746f2a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,4 @@ { // https://nuxt.com/docs/guide/concepts/typescript - "extends": "./.nuxt/tsconfig.json", - "compilerOptions": { - "exactOptionalPropertyTypes": true - } + "extends": "./.nuxt/tsconfig.json" }