Skip to content

No indexed access completions after Record<...> #38463

Closed
@DanielRosenwasser

Description

@DanielRosenwasser
interface Foo {
    hello: string;
    world: boolean;
}

type Yadda = Record<keyof Foo, any>["/**/"];

Request completions at /**/.

Expected: foo, bar
Actual: No completions

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptDomain: Completion ListsThe issue relates to showing completion lists in an editorEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".FixedA PR has been merged for this issueHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions