"external types" for d.ts files dependent on others #1402
Labels
Declined
The issue was declined as something which matches the TypeScript vision
Out of Scope
This idea sits outside of the TypeScript language design constraints
Too Complex
An issue which adding support for may be too complex for the value it adds
d.ts files on DefinitelyTyped frequently depend on other declaration files.
Bigger d.ts files depend on multiple big d.ts files, which again depend on others. (Example: atom.d.ts, ...) Collecting all those required files may not only be painful but also be unnecessary, especially for those who just want to use a specific part of a d.ts file that is not dependent on anything.
A method to specify external types can help here, allowing users to exclude unwanted declaration files.
interface Buffer { }
may just work here, but not for classes as they are not open-ended.The text was updated successfully, but these errors were encountered: