Sfoglia il codice sorgente

Updates tsconfig to es2022

main
Eric Amodio 1 anno fa
parent
commit
25282a25e1
3 ha cambiato i file con 4 aggiunte e 4 eliminazioni
  1. +1
    -1
      src/webviews/apps/tsconfig.json
  2. +2
    -2
      tsconfig.base.json
  3. +1
    -1
      tsconfig.browser.json

+ 1
- 1
src/webviews/apps/tsconfig.json Vedi File

@ -2,7 +2,7 @@
"extends": "../../../tsconfig.base.json", "extends": "../../../tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"jsx": "react", "jsx": "react",
"lib": ["dom", "dom.iterable", "es2020"],
"lib": ["dom", "dom.iterable", "es2022"],
"outDir": "../../", "outDir": "../../",
"paths": { "paths": {
"@env/*": ["src/env/browser/*"] "@env/*": ["src/env/browser/*"]

+ 2
- 2
tsconfig.base.json Vedi File

@ -6,7 +6,7 @@
"forceConsistentCasingInFileNames": true, "forceConsistentCasingInFileNames": true,
"incremental": true, "incremental": true,
"isolatedModules": true, "isolatedModules": true,
"lib": ["es2020"],
"lib": ["es2022"],
"module": "esnext", "module": "esnext",
"moduleResolution": "node", "moduleResolution": "node",
"noFallthroughCasesInSwitch": true, "noFallthroughCasesInSwitch": true,
@ -19,7 +19,7 @@
"skipLibCheck": true, "skipLibCheck": true,
"sourceMap": true, "sourceMap": true,
"strict": true, "strict": true,
"target": "es2020",
"target": "es2022",
"useDefineForClassFields": false, "useDefineForClassFields": false,
"useUnknownInCatchVariables": false "useUnknownInCatchVariables": false
}, },

+ 1
- 1
tsconfig.browser.json Vedi File

@ -1,7 +1,7 @@
{ {
"extends": "./tsconfig.base.json", "extends": "./tsconfig.base.json",
"compilerOptions": { "compilerOptions": {
"lib": ["dom", "dom.iterable", "es2020"],
"lib": ["dom", "dom.iterable", "es2022"],
"paths": { "paths": {
"@env/*": ["src/env/browser/*"], "@env/*": ["src/env/browser/*"],
"path": ["node_modules/path-browserify"] "path": ["node_modules/path-browserify"]

Caricamento…
Annulla
Salva