The only thing which worked for me was to specify the Target on macOS and Windows. Please note the parameter -t is standing for Target.
tsc -t es5 script.ts
You can run the command on your terminal.
The only thing which worked for me was to specify the Target on macOS and Windows. Please note the parameter -t is standing for Target.
tsc -t es5 script.ts
You can run the command on your terminal.