From e4aeaee6e70f05bac6b70987130f5af659356b0b Mon Sep 17 00:00:00 2001 From: Huskydog9988 <39809509+Huskydog9988@users.noreply.github.com> Date: Mon, 7 Apr 2025 19:55:33 -0400 Subject: [PATCH] refactor: move tsconfig to nuxt config --- nuxt.config.ts | 2 ++ tsconfig.json | 5 +---- 2 files changed, 3 insertions(+), 4 deletions(-) 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" }