5 ms·
There'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)
by FrancoDiaz 10y ago
There'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?