Skip to content

Commit e92246f

Browse files
authored
Merge pull request #548 from ipvych/patch-1
Fix typescript compiler crashing due to use of deprecated option
2 parents 62df947 + ac16794 commit e92246f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/webassets/filter/typescript.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def output(self, _in, out, **kw):
3939
with open(input_filename, 'w') as f:
4040
f.write(_in.read())
4141

42-
args = [self.binary or 'tsc', '--out', output_filename, input_filename]
42+
args = [self.binary or 'tsc', '--outFile', output_filename, input_filename]
4343
if self.config:
4444
args += self.config.split()
4545
proc = subprocess.Popen(

0 commit comments

Comments
 (0)