Skip to content

Support "type" for extends #2056

@pokey

Description

@pokey
Member
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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @auscompgeek@pokey

        Issue actions

          Support `"type"` for extends · Issue #2056 · cursorless-dev/cursorless