Skip to content

Commit 0e694e8

Browse files
authored
fix: incremental is default true only if composite is (#1110)
- Compiler Options docs specify this behavior as such - which I assume means if composite is false, incremental is also false unless set explicitly, but I have never used it myself
1 parent bc87a95 commit 0e694e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/tsconfig-reference/scripts/tsconfigRules.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export const defaultsForOptions = {
132132
generateCpuProfile: " profile.cpuprofile",
133133
importHelpers: "false",
134134
includes: ' `[]` if `files` is specified, otherwise `["**/*"]`',
135-
incremental: "true",
135+
incremental: "`true` if `composite`, `false` otherwise",
136136
inlineSourceMap: "false",
137137
inlineSources: "false",
138138
isolatedModules: "false",

0 commit comments

Comments
 (0)