Open SlurpTheo opened 6 years ago
PRs welcomed.
Should this be closed? The file now has no declarations of its own.
Should this be closed? The file now has no declarations of its own.
So, lib.es6.d.ts
doesn't have them anymore, but it "ninjas" back to using lib.es5.d.ts
which still contains:
interface String {
/** Returns a string representation of a string. */
toString(): string;
}
interface Symbol {
/** Returns a string representation of an object. */
toString(): string;
}
When you remove these "needless" entries, you don't get .toString()
showing up in IntelliSense (like is the case today on a boolean
in VSCode@1.39.0
)
Why in
lib.es6.d.ts
do these exist:Where this does not:
Cleanup redundant (inherited from
Object
) entries liketoString(): string
on some interfaces.