Skip to content

[Salsa] Type completions not available for @param annotations #14285

Closed
@Jessidhia

Description

@Jessidhia

TypeScript Version: 2.2.0

Code

/**
 * @param {|} bar
 * @returns {}
 */
function foo(bar) {}

Expected behavior:
Requesting a completion inside the {} after @param should return type name completion

Actual behavior:
No suggestions besides text suggestions are available.

Note that suggestions do work inside the {} after @returns.

Metadata

Metadata

Assignees

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