4 ms·
Simplified Declaration File (.d.ts) Acquisition (via npm) This is huge from a usability perspective.
by FrancoDiaz 10y ago
Simplified Declaration File (.d.ts) Acquisition (via npm)
This is huge from a usability perspective.
- ng12 10y agoIt doesn't seem to be ready. Random thing are broken that weren't in Typings.
- FrancoDiaz 10y agoThere's a couple different things we're talking about here. The ability to install typings via npm, which is good because it gets rid of another tool (typings) and everything is in package.json. But the other thing is the ability to consume declaration files in node_module packages themselves, which I consider a bigger win.
- ng12 10y agoWhy couldn't you do that before? Definition files are just ts files, wouldn't tsc be able to find them in node_modules?