Skip to content

Support string literal completions inside type argument #21166

Closed
@mariusschulz

Description

@mariusschulz

TypeScript Version: 2.7.0-dev.20180112

Code

interface Foo {
    foo: string;
    bar: string;
}

type SubsetOfFoo = Pick<Foo, "">;

Expected behavior: Completions "foo" and "bar" within "".

Actual behavior: No completions.

Related: #20843

Metadata

Metadata

Assignees

No one assigned

    Labels

    FixedA PR has been merged for this issueSuggestionAn idea for TypeScript

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions