diff --git a/cypress/tsconfig.json b/cypress/tsconfig.json index 0e2edaca5..cff033a4a 100644 --- a/cypress/tsconfig.json +++ b/cypress/tsconfig.json @@ -1,4 +1,12 @@ { "extends": "../tsconfig.json", - "include": ["./**/*.ts"], + "include": ["../*.ts", "."], + "compilerOptions": { + "rootDir": "..", + "types": [ + "cypress", + "dockerode", + "node" + ] + } } diff --git a/tsconfig.json b/tsconfig.json index acfeb7620..1bd4175b4 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,17 +1,15 @@ { "extends": "@vue/tsconfig/tsconfig.json", - "include": ["./src/**.ts", "*.ts"], + "include": ["./src"], "compilerOptions": { - "types": ["cypress", "cypress-visual-regression", "node", "dockerode", "@nextcloud/typings"], - "target": "ESNext", - "module": "esnext", - "moduleResolution": "Bundler", - // Allow ts to import js files - "allowJs": true, - "allowSyntheticDefaultImports": true, - "declaration": false, + "lib": [ + "DOM", + "ES2015" + ], + "rootDir": "src", "noImplicitAny": false, - "resolveJsonModule": true, - "strict": true, }, + "vueCompilerOptions": { + "target": 2.7 + } }