Skip to content

Completion does not work with instanceof operator (typescript) #2046

@ltearno

Description

@ltearno

With a typescript source file, when using the type guarded type inference, the auto completion does not work...

An example :

if(myObj instanceof MyClass) {
    myObj.ab// hit Ctrl+Space, the autocompletion will not trigger but should propose members of MyClass
}

Thanks !

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)typescriptTypescript support issuesupstreamIssue identified as 'upstream' component related (exists outside of VS Code)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions