diff --git a/client/package.json b/client/package.json index ef988ce5c5a..2d275fa459c 100644 --- a/client/package.json +++ b/client/package.json @@ -138,6 +138,7 @@ "@typescript-eslint/eslint-plugin": "^5.43.0", "@typescript-eslint/parser": "^5.43.0", "@vue/test-utils": "^1.3.0", + "@vue/tsconfig": "^0.1.3", "@vue/vue2-jest": "^29.1.0", "amdi18n-loader": "^0.9.3", "autoprefixer": "10.4.5", diff --git a/client/tsconfig.json b/client/tsconfig.json index 037e4c7b4c7..814f1cd1df6 100644 --- a/client/tsconfig.json +++ b/client/tsconfig.json @@ -1,18 +1,14 @@ { + "extends": "@vue/tsconfig/tsconfig.json", "compilerOptions": { "target": "es2016", - "jsx": "preserve", - "module": "es2015", - "moduleResolution": "node", + "module": "es6", "baseUrl": "./src", + "allowJs": true, "checkJs": false, - "importHelpers": true, - "allowSyntheticDefaultImports": true, - "esModuleInterop": true, - "forceConsistentCasingInFileNames": true, - "strict": true, - "skipLibCheck": true + + "allowSyntheticDefaultImports": true }, "include": ["types/*.d.ts", "src/**/*.ts", "src/**/*.tsx", "src/**/*.vue", "tests/**/*.ts"], "exclude": ["node_modules"] diff --git a/client/types/shim-vue.d.ts b/client/types/shim-vue.d.ts index 94f224549e0..0660bd67a54 100644 --- a/client/types/shim-vue.d.ts +++ b/client/types/shim-vue.d.ts @@ -1,4 +1,3 @@ -//src/shims-vue.d.ts declare module "*.vue" { import Vue from "vue"; export default Vue; diff --git a/client/yarn.lock b/client/yarn.lock index b24e3e76626..3cb54acb123 100644 --- a/client/yarn.lock +++ b/client/yarn.lock @@ -2210,6 +2210,11 @@ lodash "^4.17.15" pretty "^2.0.0" +"@vue/tsconfig@^0.1.3": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@vue/tsconfig/-/tsconfig-0.1.3.tgz#4a61dbd29783d01ddab504276dcf0c2b6988654f" + integrity sha512-kQVsh8yyWPvHpb8gIc9l/HIDiiVUy1amynLNpCy8p+FoCiZXCo6fQos5/097MmnNZc9AtseDsCrfkhqCrJ8Olg== + "@vue/vue2-jest@^29.1.0": version "29.1.0" resolved "https://registry.yarnpkg.com/@vue/vue2-jest/-/vue2-jest-29.1.0.tgz#5d4503a3481f61e226a9e136940d9727e68255c6"