These are chat archives for TypeStrong/atom-typescript

Mar 2015
Matt Traynham
Mar 23 2015 01:44

@basarat dts-generator worked fairly well. The only weird part was how to handle /// reference. tsc will fail if a reference path does not exist. So I didn't want them emitted in the bundled d.ts file. The workaround:

Use a references.ts file.
Don't append any references in the other .ts files.
tsc will still work as long as the references file is included.
dts-generator has an exclude property.