[Proposal]: Allow using alias directive to reference any kind of Type #8645
Labels
Implemented Needs ECMA Spec
This feature has been implemented in C#, but still needs to be merged into the ECMA specification
Proposal champion
Milestone
Allow using alias directive to reference any kind of Type
Summary
Relax the using_alias_directive (§13.5.2) to allow it to point at any sort of type, not just named types. This would support types not allowed today, like: tuple types, pointer types, array types, etc. For example, this would now be allowed:
Design meetings
main/meetings/2021/LDM-2021-09-20.md#type-alias-improvements
main/meetings/2022/LDM-2022-08-31.md#using-aliases-for-any-type
main/meetings/2022/LDM-2022-09-28.md#ungrouped
main/meetings/2023/LDM-2023-01-11.md#using-aliases-for-any-types
The text was updated successfully, but these errors were encountered: