From e8b633f93607ed97df731d22fa9555a9c8761e36 Mon Sep 17 00:00:00 2001 From: Sebastian Johansson Date: Mon, 27 Feb 2023 12:04:05 +0100 Subject: [PATCH] feat: adds a more proper tsconfig.json --- lib/tsconfig.json | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/lib/tsconfig.json b/lib/tsconfig.json index f04fe96c..75fa4180 100644 --- a/lib/tsconfig.json +++ b/lib/tsconfig.json @@ -1,11 +1,18 @@ { "compilerOptions": { - /* Language and Environment */ - "target": "esnext" /* Set the JavaScript language version for emitted JavaScript and include compatible library declarations. */, - - /* Modules */ - "module": "esnext" /* Specify what module code is generated. */, - "moduleResolution": "node" /* Specify how TypeScript looks up a file from a given module specifier. */ + "target": "ESNext", + "module": "ESNext", + "moduleResolution": "Node", + "strict": false, + "allowJs": true, + "resolveJsonModule": true, + "types": [ + "node" + ], + "paths": { + "#app": [ + "../node_modules/nuxt/dist/app/index" + ] + } } -} - \ No newline at end of file + } \ No newline at end of file