Skip to content

Commit b51d726

Browse files
Kennytianradko93
authored andcommitted
Update tsconfig.json (#100)
Add incremental item into default tsconfig.json, more references: https://www.typescriptlang.org/docs/handbook/release-notes/typescript-3-5.html#--incremental-improvements
1 parent 9721ad6 commit b51d726

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

template/tsconfig.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
// "rootDir": "./", /* Specify the root directory of input files. Use to control the output directory structure with --outDir. */
1616
// "removeComments": true, /* Do not emit comments to output. */
1717
"noEmit": true, /* Do not emit outputs. */
18+
"incremental": true, /* Enable incremental compilation */
1819
// "importHelpers": true, /* Import emit helpers from 'tslib'. */
1920
// "downlevelIteration": true, /* Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'. */
2021
"isolatedModules": true, /* Transpile each file as a separate module (similar to 'ts.transpileModule'). */
@@ -58,4 +59,4 @@
5859
"exclude": [
5960
"node_modules", "babel.config.js", "metro.config.js", "jest.config.js"
6061
]
61-
}
62+
}

0 commit comments

Comments
 (0)