Explorar el Código

Updates tsconfig to es2022

main
Eric Amodio hace 1 año
padre
commit
25282a25e1
Se han modificado 3 ficheros con 4 adiciones y 4 borrados
  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 Ver fichero

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

+ 2
- 2
tsconfig.base.json Ver fichero

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

+ 1
- 1
tsconfig.browser.json Ver fichero

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

Cargando…
Cancelar
Guardar