Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for acquiring types #8868

Closed
bowdenk7 opened this issue May 27, 2016 · 2 comments
Closed

API for acquiring types #8868

bowdenk7 opened this issue May 27, 2016 · 2 comments
Labels
API Relates to the public API for TypeScript Suggestion An idea for TypeScript @types Relates to working with .d.ts files (declaration/definition files) from DefinitelyTyped
Milestone

Comments

@bowdenk7
Copy link

We should provide a way for others to ask for types that Salsa will fetch.

We use bower.json and package.json as sources for fetching types, but Cordova projects have an additional source config.xml which lists plugins that also need types. We don't want to check config.xml for all projects, nor be dependant on the structure of config.xml going forward. But we should allow Cordova to parse it themselves and send us a list of libs that they want types for.

@bowdenk7 bowdenk7 added Suggestion An idea for TypeScript API Relates to the public API for TypeScript Salsa @types Relates to working with .d.ts files (declaration/definition files) from DefinitelyTyped labels May 27, 2016
@mhegazy
Copy link
Contributor

mhegazy commented Jun 4, 2016

This looks like an extensibility point for discoverTypings. Related to #6508

@mhegazy
Copy link
Contributor

mhegazy commented Jun 4, 2016

//cc:@weswigham

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Relates to the public API for TypeScript Suggestion An idea for TypeScript @types Relates to working with .d.ts files (declaration/definition files) from DefinitelyTyped
Projects
None yet
Development

No branches or pull requests

4 participants