-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
extends
clause - Type alias can be used in the
implements
clause as well as an interface
Metadata
Metadata
Assignees
Labels
SpecIssues related to the TypeScript language specificationIssues related to the TypeScript language specification