Reconsider mixed use of extends
#3901
Labels
compiler:core
Issues for @typespec/compiler
design:needed
A design request has been raised that needs a proposal
triaged:core
Milestone
In relation to the nominal type proposal #3900 our current mixed use of
extends
is confusingmodel extends
: Means inheritenceinterface extends
: Means spread operationsextends
means constraint satisfiesOption could be
model extends
: Keepinterface extends
: Replace with spreadextends
: replace with:
model Foo<T: string>
The text was updated successfully, but these errors were encountered: