Skip to content

Commit 820f3f4

Browse files
update ts
1 parent dd770a9 commit 820f3f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

language/typescript/typescript.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ func Run(files []string, stdin string) (string, string, error) {
1212

1313
// Find all typescript files and build compile command
1414
sourceFiles := util.FilterByExtension(files, "ts")
15-
args := append([]string{"tsc", "-out", jsName}, sourceFiles...)
15+
args := append([]string{"tsc", "-incremental", "-skipLibCheck", "-noLib", "-outFile", jsName}, sourceFiles...)
1616

1717
// Compile to javascript
1818
stdout, stderr, err := cmd.Run(workDir, args...)

0 commit comments

Comments
 (0)