Skip to content

String type autocomplete doesn't work with paren #26141

Description

@Kingwl

TypeScript Version: 3.1.0-dev.201xxxxx

Search Terms:
completion, paren
Code

type A = 'AAAAA' | 'BBBBBB';
type B<T extends A> = {};
type C = B<('/**/')>

Expected behavior:
'AAAAA' or 'BBBBBB'

Actual behavior:
no completions

Related Issues:
#25839

completion cannot walkup useless node (paren type)

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

    BugA bug in TypeScriptGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions