Definitelytyped: I'm a Typescript newbie. trying to use it on a medium-sized project. I'm using VS 2015 and bower for all client side Package management. I have installed DefinitelyTyped through bower, but it has around 2000 folders for various plugins. Is there a way I can used DefinitelyTyped but with only the required plugin sets? Can I delete off plugins which i do not need?Will get an dependency issues?

Created on 23 Feb 2017  路  1Comment  路  Source: DefinitelyTyped/DefinitelyTyped

  • [ ] I tried using the @types/xxxx package and had problems.
  • [ ] I tried using the latest stable version of tsc. https://www.npmjs.com/package/typescript
  • [ ] I have a question that is inappropriate for StackOverflow. (Please ask any appropriate questions there).
  • [ ] [Mention](https://github.com/blog/821-mention-somebody-they-re-notified) the authors (see Definitions by: in index.d.ts) so they can respond.

    • Authors: @....

Most helpful comment

DefinitelyTyped is a repository for all definition files available. Cloning the whole repo is probably not what you want.

All the definition files on definitely Typed are available under npm under @types organization.

So i would recommend you first identify what definition packages you need, then install them directly. for example: npm install @types/lodash.

You might find the documentation on http://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html helpful.

>All comments

DefinitelyTyped is a repository for all definition files available. Cloning the whole repo is probably not what you want.

All the definition files on definitely Typed are available under npm under @types organization.

So i would recommend you first identify what definition packages you need, then install them directly. for example: npm install @types/lodash.

You might find the documentation on http://www.typescriptlang.org/docs/handbook/declaration-files/consumption.html helpful.

Was this page helpful?
0 / 5 - 0 ratings