Specification, chapter 3.10:
An interface can be named in an extends or implements clause, but a type alias for an object type literal cannot.
This contradicts the actual behaviour seen in current Playground:
- Interface cannot be used in the
extends clause
- Type alias can be used in the
implements clause as well as an interface
Specification, chapter 3.10:
This contradicts the actual behaviour seen in current Playground:
extendsclauseimplementsclause as well as an interface