These are chat archives for TypeStrong/atom-typescript

10th
Sep 2015
Sebastian Lenz
@sebastian-lenz
Sep 10 2015 12:47
Hi folks, got a little question. I've lowercased the filename of one of my source files, now atom complains that this file is not listed in tsconfig.json but on save it compiles the file with old camel cased name to the output directory. Syncing files does not help, so is there a something like a cache I can additionally clear?
Sebastian Lenz
@sebastian-lenz
Sep 10 2015 14:46
Nevermind, was a TypeScript bug, opened an issue there.
Stephen Baynham
@CannibalVox
Sep 10 2015 15:53
Hi, what are the best practices for writing a library in typescript that is then consumed by another typescript library? Is it really to manually ///<reference> the output file?
That seems not very robust...?
I'd like to use import from, but it seems like that's not compatible with the dts files produced by the typescript compiler
I'd have to manually edit those dts files I guess?
Stephen Baynham
@CannibalVox
Sep 10 2015 16:07
Honestly I'm not particularly clear on how to do libraries generally, given the recommendation to not use --out.
Basarat Ali Syed
@basarat
Sep 10 2015 23:25

Hi, what are the best practices for writing a library in typescript that is then consumed by another typescript library? Is it really to manually ///<reference> the output file?

@CannibalVox No just use commonjs with declaration true. A quickstart : http://basarat.gitbooks.io/typescript/content/docs/node/nodejs.html