TypeScriptCompiler
TypeScriptCompiler copied to clipboard
Import issue
On Windows when i try to use import from another file it shows an error:
In console then it outputs:
test.ts:1:1: error: String.ts: Can't open: Unknown error (0xC1)
import String from 'String.ts';
^
test.ts:1:1: error: failed statement
import String from 'String.ts';
^
if the file is not with extensoin .ts the program waits for several seconds and quit out. I assume it attempts to run the file but it is a text document