Skip to content

Commit

Permalink
chore: Adjust Typescript configs
Browse files Browse the repository at this point in the history
Signed-off-by: Ferdinand Thiessen <[email protected]>
  • Loading branch information
susnux authored and mejo- committed Sep 11, 2024
1 parent 4f96e64 commit b28a81b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 12 deletions.
10 changes: 9 additions & 1 deletion cypress/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
{
"extends": "../tsconfig.json",
"include": ["./**/*.ts"],
"include": ["../*.ts", "."],
"compilerOptions": {
"rootDir": "..",
"types": [
"cypress",
"dockerode",
"node"
]
}
}
20 changes: 9 additions & 11 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -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
}
}

0 comments on commit b28a81b

Please sign in to comment.