These are chat archives for TypeStrong/atom-typescript
Error: Cannot find module 'node_modules/typescript/bin/tsc --emitDecoratorMetadata' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Function.Module.runMain (module.js:497:10) at startup (node.js:119:16) at node.js:906:3
error TS5023: Unknown compiler option 'emitdecoratormetadata'.
--sourcemap --emitDecoratorMetadata --target ES5 --module commonjs --outDir ./app/scripts
dependency view- no biggie, just an idea
<ctrl> cdoesn't seem to work
<ctrl> c- but now that i found drag-drop, i'm good. might confuse others too, not sure
probably not a good long term answer
@cmichaelgraham regarding es6.d.ts. Your changes will revert whenever atom-typescript will update. Unless you copied the file into your project
TypeScript: Dependency Viewwhich suggests I should look in Packages>TypeScript. But it isn't there. Can someone enlighten me?
<ctrl><shift>Pand then type
typescriptin the textbox of the popup, then scroll down to dependency view, that should get you there. let me know if it doesn't work :)
.tsfile open when you launch it
a, very import if you use require :)
indexexport the public interface
@donnut @cmichaelgraham I do the same with a project at work. One file for every construct (class/interface/enum) & each file is an external module. If you are distributing a library, I'd recommend just
export import all the classes from your main Module file. dts-generator can create the single
.d.ts type file for you. I figured out the build flow using Bartvds' pixelbutler-starter project. So you develop against commonJs and distribute as a single bundle.
Thus, single bundle/single declaration.