Closed
Description
🔎 Search Terms
"dataview", "ts2508", "no base constructor has the specified number of type arguments"
🕗 Version & Regression Information
- This changed between versions 5.6.3 and 5.7.2
- This probably changed in commit or PR Make typed arrays generic over
ArrayBufferLike
#59417 - This is the behavior in every version I tried, and I reviewed the FAQ for entries about DataView and TypedArray
- I was unable to test this on prior versions because _______
⏯ Playground Link
https://www.typescriptlang.org/play/?ts=5.7.2#code/MYGwhgzhAEAa0FMAeAXBA7AJjAImFYAagJYIDu0A3gL5A
💻 Code
class X extends DataView {}
🙁 Actual behavior
error TS2508: No base constructor has the specified number of type arguments.
🙂 Expected behavior
build should run without any issues and class X should use the default constructor of DataView
Additional information about the issue
No response
Metadata
Metadata
Assignees
Labels
No labels