Skip to content

Support "type" for extends #2056

Open
Open
@pokey

Description

@pokey
function getSectionKeyMap<T extends KeyDescriptor["type"]>(type: T) {}

In the above, I'd like to be able to say "type" within KeyDescriptor["type"] to get KeyDescriptor["type"]. Alternately, we could support "value"? Should think about how to get T, and what domains should be

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions