Closed
Description
π Search Terms
class expression implement primitive type
π Version & Regression Information
- This changed between versions 5.2.2__ and 5.3.3___
β― Playground Link
π» Code
class C implements number {} // report that class cannot implement primitive type
const A = class B implements number {} // this code should report the same error, but it actually does not.
π Actual behavior
Refer to the comment above
π Expected behavior
Refer to the comment above
Additional information about the issue
No response