From 47ba493a4340d4cf4af88a693d11a6b97b0cd2a8 Mon Sep 17 00:00:00 2001 From: Francesco Date: Sun, 24 Apr 2022 17:02:59 +0200 Subject: [PATCH] Webapp: fixed typescript configuration --- GuessNN-webapp/src/App.vue | 2 +- .../src/components/MainComponent.vue | 5 ++-- GuessNN-webapp/tsconfig.json | 24 ++++++++++++------- 3 files changed, 19 insertions(+), 12 deletions(-) diff --git a/GuessNN-webapp/src/App.vue b/GuessNN-webapp/src/App.vue index 8c5e956..8f92b75 100644 --- a/GuessNN-webapp/src/App.vue +++ b/GuessNN-webapp/src/App.vue @@ -2,7 +2,7 @@ - diff --git a/GuessNN-webapp/tsconfig.json b/GuessNN-webapp/tsconfig.json index 61952ee..3463d8d 100644 --- a/GuessNN-webapp/tsconfig.json +++ b/GuessNN-webapp/tsconfig.json @@ -1,16 +1,22 @@ { "extends": "@vue/tsconfig/tsconfig.web.json", - "include": ["env.d.ts", "src/**/*", "src/**/*.vue"], + "include": [ + "env.d.ts", + "src/**/*", + "src/**/*.vue" + ], "compilerOptions": { - "baseUrl": ".", - "paths": { - "@/*": ["./src/*"] - } + "baseUrl": ".", + "paths": { + "@/*": [ + "./src/*" + ] + }, + "noImplicitThis": true, }, - "references": [ - { - "path": "./tsconfig.vite-config.json" - } + { + "path": "./tsconfig.vite-config.json" + } ] }