ts to es2019

Signed-off-by: Raccoon <raccoon@hackmd.io>
This commit is contained in:
Raccoon 2021-06-12 10:12:36 +08:00
parent 11fd1e72a1
commit 70ed184d14
No known key found for this signature in database
GPG Key ID: 06770355DC9ECD38

View File

@ -1,10 +1,11 @@
{ {
"compileOnSave": true, "compileOnSave": true,
"compilerOptions": { "compilerOptions": {
"allowJs": true, "allowJs": false,
"target": "ES5", "target": "ES2019",
"outDir": "./dist/", "outDir": "./dist/",
"allowSyntheticDefaultImports": true "module": "CommonJS",
"moduleResolution": "Node"
}, },
"include": [ "include": [
"./lib/**/*" "./lib/**/*"