Enable ES2020 to match matrix-react-sdk (#931)

This commit is contained in:
Michael Telatynski 2023-04-27 19:10:51 +01:00 committed by GitHub
parent 02bd6e7690
commit 8aee984b04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View File

@ -5,7 +5,7 @@
"target": "es2016", "target": "es2016",
"sourceMap": false, "sourceMap": false,
"strict": true, "strict": true,
"lib": ["es2019"] "lib": ["es2020"]
}, },
"include": ["../scripts/@types/*.d.ts", "./**/*.ts"], "include": ["../scripts/@types/*.d.ts", "./**/*.ts"],
"ts-node": { "ts-node": {

View File

@ -7,7 +7,7 @@
"module": "commonjs", "module": "commonjs",
"sourceMap": false, "sourceMap": false,
"strict": true, "strict": true,
"lib": ["es2019", "dom"] "lib": ["es2020", "dom"]
}, },
"include": ["../src/@types", "./**/*.ts"], "include": ["../src/@types", "./**/*.ts"],
"ts-node": { "ts-node": {

View File

@ -7,7 +7,7 @@
"module": "commonjs", "module": "commonjs",
"sourceMap": false, "sourceMap": false,
"strict": true, "strict": true,
"lib": ["es2019", "dom"] "lib": ["es2020", "dom"]
}, },
"include": ["./**/*.ts"], "include": ["./**/*.ts"],
"ts-node": { "ts-node": {

View File

@ -10,7 +10,7 @@
"rootDir": "./src", "rootDir": "./src",
"declaration": true, "declaration": true,
"typeRoots": ["src/@types", "node_modules/@types"], "typeRoots": ["src/@types", "node_modules/@types"],
"lib": ["es2019", "dom"], "lib": ["es2020", "dom"],
"types": ["node"], "types": ["node"],
"strict": true "strict": true
}, },