Migrate to es2020 for TS (#3386)

This commit is contained in:
Jakub Neander 2023-03-22 10:21:46 +01:00 committed by GitHub
parent 516a64b0fb
commit 15f8b6625c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 2 deletions

View file

@ -24,6 +24,7 @@ All notable, unreleased changes to this project will be documented in this file.
- Allow subscription query for sync events - #3099 by @2can - Allow subscription query for sync events - #3099 by @2can
- Simplify codegen configuration to generate the graphql schema - #2538 by @abumalick - Simplify codegen configuration to generate the graphql schema - #2538 by @abumalick
- Add DevMode panel (trigger: CMD+') - #3333 by @zaiste - Add DevMode panel (trigger: CMD+') - #3333 by @zaiste
- Migrate to `es2020` for TypeScript - #3386 by @zaiste
## 3.4 ## 3.4

View file

@ -7,10 +7,12 @@
"strictNullChecks": false, "strictNullChecks": false,
"esModuleInterop": true, "esModuleInterop": true,
"jsx": "react", "jsx": "react",
"lib": ["es2017", "dom", "esnext"], "lib": ["es2020", "dom", "esnext"],
"skipLibCheck": true, "skipLibCheck": true,
"sourceMap": true, "sourceMap": true,
"target": "es5", "target": "ES2020",
"module": "es2020",
"moduleResolution": "node",
"noUnusedLocals": true, "noUnusedLocals": true,
"noUnusedParameters": true, "noUnusedParameters": true,
"downlevelIteration": true, "downlevelIteration": true,