chore: set compilerOptions.target as es2015

This commit is contained in:
Amour1688 2020-09-14 16:43:55 +08:00
parent 371f6a59de
commit 018c2ca6af

View File

@ -1,7 +1,7 @@
{ {
"compilerOptions": { "compilerOptions": {
"sourceMap": false, "sourceMap": false,
"target": "es5", "target": "es2015",
"module": "commonjs", "module": "commonjs",
"moduleResolution": "node", "moduleResolution": "node",
"allowJs": true, "allowJs": true,
@ -13,7 +13,7 @@
"removeComments": false, "removeComments": false,
"jsx": "preserve", "jsx": "preserve",
"lib": ["esnext", "dom"], "lib": ["esnext", "dom"],
"types": ["node"], "types": ["node"]
}, },
"include": [ "include": [
"global.d.ts" "global.d.ts"