-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
SpecIssues related to the TypeScript language specificationIssues related to the TypeScript language specification
Description
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
extendsclause - Type alias can be used in the
implementsclause as well as an interface
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
SpecIssues related to the TypeScript language specificationIssues related to the TypeScript language specification