Skip to content

No string completions for indexed access types #20938

Closed
@DanielRosenwasser

Description

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

let x: Foo['']

Try to request completions within the string literal.

Expected: completions for hello and world
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