mirror of
https://github.com/ProtonMail/WebClients.git
synced 2026-01-11 20:06:40 +00:00
Target esnext in tsconfig.json
This commit is contained in:
parent
6e9c374d63
commit
cb57e1bb1c
7 changed files with 12 additions and 16 deletions
|
|
@ -2,7 +2,7 @@
|
|||
"extends": "../../tsconfig.base.json",
|
||||
"exclude": ["**/node_modules", "**/dist", "**/release", "**/public", "**/.*/"],
|
||||
"compilerOptions": {
|
||||
"target": "ESNext",
|
||||
"target": "esnext",
|
||||
"lib": ["dom", "dom.iterable", "esnext", "WebWorker"],
|
||||
"types": ["webpack-env", "jest", "chrome", "webextension-polyfill", "./globals.d.ts"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2020",
|
||||
"useDefineForClassFields": true,
|
||||
"target": "esnext",
|
||||
"useDefineForClassFields": false,
|
||||
"module": "ESNext",
|
||||
"lib": ["ES2020", "DOM", "DOM.Iterable"],
|
||||
"skipLibCheck": true,
|
||||
|
|
|
|||
|
|
@ -20,14 +20,9 @@
|
|||
"skipLibCheck": true,
|
||||
"strict": true,
|
||||
"strictNullChecks": true,
|
||||
"target": "es2022",
|
||||
"outDir": "./dist",
|
||||
"target": "esnext",
|
||||
"outDir": "./dist"
|
||||
},
|
||||
"include": [
|
||||
"lib/**/*",
|
||||
"bin/**/*",
|
||||
"index.ts",
|
||||
"tsconfig.json",
|
||||
],
|
||||
"exclude": ["**/*.spec.ts", "dist"],
|
||||
"include": ["lib/**/*", "bin/**/*", "index.ts", "tsconfig.json"],
|
||||
"exclude": ["**/*.spec.ts", "dist"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"compilerOptions": {
|
||||
"noImplicitAny": true,
|
||||
"module": "commonjs",
|
||||
"target": "es2015",
|
||||
"target": "esnext",
|
||||
"esModuleInterop": true
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
"extends": "../../tsconfig.base.json",
|
||||
"exclude": ["**/node_modules", "**/dist", "**/public", "**/.*/"],
|
||||
"compilerOptions": {
|
||||
"target": "ESNext",
|
||||
"target": "esnext",
|
||||
"lib": ["dom", "dom.iterable", "esnext", "WebWorker"],
|
||||
"types": ["webpack-env", "jest", "chrome", "webextension-polyfill", "./globals.d.ts"]
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@
|
|||
"noUnusedLocals": true,
|
||||
"resolveJsonModule": true,
|
||||
"strict": true,
|
||||
"target": "es2021",
|
||||
"target": "esnext",
|
||||
"useDefineForClassFields": false,
|
||||
"skipLibCheck": true,
|
||||
"types": ["webpack-env", "jest", "vitest/globals"],
|
||||
"baseUrl": ".",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"module": "commonjs",
|
||||
"target": "es2015",
|
||||
"target": "esnext",
|
||||
"esModuleInterop": true
|
||||
},
|
||||
"ts-node": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue