From f34136faadb758078fc6880af1bd7646474ee275 Mon Sep 17 00:00:00 2001 From: pvincent Date: Thu, 4 Mar 2021 11:36:03 +0400 Subject: [PATCH] full and strict typescript support --- .vscode/settings.json | 3 +++ src/components/App.vue | 7 +++++-- tsconfig.json | 7 ++++++- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index e008358..2ab9d9e 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,9 @@ { "eslint.enable": true, "vetur.validation.template": false, + "eslint.validate": ["javascript", "typescript", "vue"], + "vetur.experimental.templateInterpolationService": true, + "vetur.validation.script": true, "vetur.validation.templateProps": true, "vetur.validation.interpolation": true, "editor.formatOnSave": true, diff --git a/src/components/App.vue b/src/components/App.vue index 4de9462..5968325 100644 --- a/src/components/App.vue +++ b/src/components/App.vue @@ -31,8 +31,11 @@