Skip to content

Commit 8afa10c

Browse files
Add trailing comma to skipLibCheck to match TypeScript baseline
Co-authored-by: RyanCavanaugh <[email protected]>
1 parent 3cfa46c commit 8afa10c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/tsoptions/commandlineparser.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,8 +495,7 @@ func GenerateTSConfig(options *core.CompilerOptions, newLine string) string {
495495
emitOption("isolatedModules", true)
496496
emitOption("noUncheckedSideEffectImports", true)
497497
emitOption("moduleDetection", core.ModuleDetectionKindForce)
498-
// Last option - no trailing comma
499-
result = append(result, tab+tab+"\"skipLibCheck\": true")
498+
emitOption("skipLibCheck", true)
500499

501500
result = append(result, tab+"}")
502501
result = append(result, "}")

0 commit comments

Comments
 (0)