Missing Boolean.toString definition and loose valueOf definition #60517
Labels
Awaiting More Feedback
This means we'd like to hear from more people who would be helped by this feature
Suggestion
An idea for TypeScript
⚙ Compilation target
ES2017
⚙ Library
lib.es5.d.ts
Missing / Incorrect Definition
TS Playground
Related issues #30225, #38347
Sample Code
Documentation Link
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/toString
https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-boolean.prototype.tostring
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean/valueOf
https://tc39.es/ecma262/multipage/fundamental-objects.html#sec-boolean.prototype.valueof
The text was updated successfully, but these errors were encountered: