I'm happy to go through the contributing process and open a PR with this change if you're accepting changes to lib.d.ts.
ArrayBuffer.isView(arg) should be typed with the return value arg is ArrayBufferView
Relevant standard documentation (more informally described at MDN):
The isView function takes one argument arg, and performs the following steps are taken:
- If Type(arg) is not Object, return false.
- If arg has a [[ViewedArrayBuffer]] internal slot, return true.
- Return false.
I remember at one point you weren't accepting typing issues on lib.d.ts and deferred to the community for fixes, but it looks like your decision has changed. Feel free to close this issue if this is still the case.
I'm happy to go through the contributing process and open a PR with this change if you're accepting changes to
lib.d.ts.ArrayBuffer.isView(arg)should be typed with the return valuearg is ArrayBufferViewRelevant standard documentation (more informally described at MDN):
I remember at one point you weren't accepting typing issues on
lib.d.tsand deferred to the community for fixes, but it looks like your decision has changed. Feel free to close this issue if this is still the case.