Skip to content

Support completion details for string literal completions #21374

Closed
@ghost

Description

TypeScript Version: 2.7.0-dev.20180123

Search Terms: string completion details

Code

/// <reference path="fourslash.ts" />

////const x: "a" = "/**/";

goTo.marker();
verify.completionListContains("a", "text", "doc", "kind", undefined, undefined);

Expected behavior:

Successfully get completion details.

Actual behavior:

NPE because getCompletionEntryDetails returns undefined.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issue

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions