These are chat archives for TypeStrong/atom-typescript

21st
Sep 2015
Johan Alkstål
@johanalkstal
Sep 21 2015 07:18

Hi! Just getting started with TS and atom-typescript.
For some reason changes to my .ts files have stopped getting added to the compiled .js file. The .js files are not getting updated and my latest .ts file just compiles to an empty .js file.

I'm sure I've configured it wrong or something. :) But does anyone have a clue?

Johan Alkstål
@johanalkstal
Sep 21 2015 07:39
OK, seems like tsconfig.json didn't like the outFile option. Changed it to outDir and now it works.
But "outFile" should work though?
saviilsy
@saviilsy
Sep 21 2015 07:48
Hi! Just installed atom-typescript however it complains about "Cannot find module "ntypescript""
Basarat Ali Syed
@basarat
Sep 21 2015 10:17

Does typescript allow for imports from other .ts files?

@AskYous yes. Use external modules e.g. --module commonjs. More : https://basarat.gitbooks.io/typescript/content/docs/project/modules.html

But "outFile" should work though?

@johanalkstal outFile is not a valid compiler option. Perhaps you meant out. But we don't recommend it https://github.com/TypeStrong/atom-typescript/blob/master/docs/out.md

Hi! Just installed atom-typescript however it complains about "Cannot find module "ntypescript""

@saviilsy more info please :rose: . Perhaps create an issue