-
Notifications
You must be signed in to change notification settings - Fork 13.4k
API for acquiring types #8868
Copy link
Copy link
Closed
Labels
@typesRelates to working with .d.ts files (declaration/definition files) from DefinitelyTypedRelates to working with .d.ts files (declaration/definition files) from DefinitelyTypedDomain: APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptSuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Metadata
Metadata
Assignees
Labels
@typesRelates to working with .d.ts files (declaration/definition files) from DefinitelyTypedRelates to working with .d.ts files (declaration/definition files) from DefinitelyTypedDomain: APIRelates to the public API for TypeScriptRelates to the public API for TypeScriptSuggestionAn idea for TypeScriptAn idea for TypeScript
We should provide a way for others to ask for types that Salsa will fetch.
We use
bower.jsonandpackage.jsonas sources for fetching types, but Cordova projects have an additional sourceconfig.xmlwhich lists plugins that also need types. We don't want to checkconfig.xmlfor all projects, nor be dependant on the structure ofconfig.xmlgoing forward. But we should allow Cordova to parse it themselves and send us a list of libs that they want types for.