Skip to content

Commit 83cc796

Browse files
ts updates
1 parent 33a86f9 commit 83cc796

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, string) {
1212

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

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

0 commit comments

Comments
 (0)