2 ms·
As far as I know, some libraries bring their own typings, especially when they're written in TypeScript.
by k__ 10y ago
As far as I know, some libraries bring their own typings, especially when they're written in TypeScript.
- WorldMaker 10y agoRight, Angular 2 could build typings directly from their Typescript sources into their npm packages (there's a "typings" field to add to package.json being the only other step). If they did that all you need is npm install -s angular and typings just fall out of the sky for you. Aside, my biggest concern with the new @types scope is that it is still tightly coupled with the DefinitelyTyped megarepo. DT has been a great help over the years, but it's so huge and increasingly hard to contribute to as DT has increased its quality bar and its size makes it a stress test on git tools and IDEs, too.