Skip to content

Commit 8a36b70

Browse files
committed
fix(build): revert "remove comments from tsconfig.json"
This reverts commit 5f54383.
1 parent b5336cc commit 8a36b70

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

tsconfig.json

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,27 @@
11
{
22
"compilerOptions": {
3-
"target": "es5",
4-
"module": "commonjs",
3+
/* Basic Options */
4+
"target": "es5", /* Specify ECMAScript target version: 'ES3' (default), 'ES5', 'ES2015', 'ES2016', 'ES2017', or 'ESNEXT'. */
5+
"module": "commonjs", /* Specify module code generation: 'none', commonjs', 'amd', 'system', 'umd', 'es2015', or 'ESNext'. */
56
"lib": [
67
"es5",
78
"es2015",
89
"dom",
910
"scripthost"
1011
],
12+
13+
/* Build source files into a folder called `dist` to maintain clean directories, free of ts-generated files */
1114
"outDir": "./dist",
12-
"declaration": true,
13-
"sourceMap": true,
14-
"alwaysStrict": true,
15-
"moduleResolution": "node",
16-
"types": [
17-
"node"
18-
]
15+
16+
/* Specify library files to be included in the compilation: */
17+
"declaration": true, /* Generates corresponding '.d.ts' file. */
18+
"sourceMap": true, /* Generates corresponding '.map' file. */
19+
20+
/* Strict Type-Checking Options */
21+
"alwaysStrict": true, /* Parse in strict mode and emit "use strict" for each source file. */
22+
23+
/* Module Resolution Options */
24+
"moduleResolution": "node", /* Specify module resolution strategy: 'node' (Node.js) or 'classic' (TypeScript pre-1.6). */
25+
"types": ["node"], /* Type declaration files to be included in compilation. */
1926
}
2027
}

0 commit comments

Comments
 (0)