Skip to content

Use insertText to add string literal completions #21408

Description

TypeScript Version: 2.8.0-dev.20180125

Code

const x: "a" | "b" = /**/

Expected behavior:

Get "a" and "b" as completions (in addition to global symbols).

Actual behavior:

No useful completions.

Issue from #21372 (comment)

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

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions