-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtsconfig.json
More file actions
25 lines (25 loc) · 1.03 KB
/
tsconfig.json
File metadata and controls
25 lines (25 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
"compilerOptions": {
/* Basic Options */
"target": "es5" /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017','ES2018' or 'ESNEXT'. */,
"module": "commonjs" /* Specify module code generation: 'none', 'commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */,
/* Strict Type-Checking Options */
"strict": true /* Enable all strict type-checking options. */,
"sourceMap": true,
"removeComments": false,
"noImplicitAny": true,
"noImplicitReturns": true,
"moduleResolution": "node",
"alwaysStrict": true,
"forceConsistentCasingInFileNames": true,
"declarationMap": true,
"listEmittedFiles": true,
"declaration": true,
"esModuleInterop": false,
"noEmitHelpers": false, // 注入 helper function
"lib": ["es5","es2015.promise"],
"pretty": true,
"typeRoots": ["node_modules/@dragongate/miniprogram-api-typings"]
},
"files": ["src/index.ts"]
}