-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Open
Labels
Needs InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.
Milestone
Description
Seems like VSCode ignores @property when specify type inside @typedef in 1.43.2 and 1.44.0-insider. It cause type hint to show not so correct type information and also not detected inside autocomplete/intellisense.
- VSCode Version: 1.43.2 and 1.44.0-insider
- OS Version: Ubuntu 18.04 x86_64
Steps to Reproduce:
- Create JSDoc type definition file, for example
types.js. - Import the type into
form.js. - Ensure the type hint for the specified JSDoc is working properly (no
any) and the type is detected available inside autocomplete/intellisense.
Temporary Solution:
- Remove type from
@typedef, such us from@typedef {Object<string, any>} Personinto@typedef Person. - Or, remove
<string, any>from Object, such us@typedef {Object<string, any>} Personinto@typedef {Object} Person.
Reproduce Repo: https://github.com/jeffryang24/sandbox/tree/master/javascript/vscode-jsdoc-type-hint-issue
Does this issue occur when all extensions are disabled?: Yes/No
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Needs InvestigationThis issue needs a team member to investigate its status.This issue needs a team member to investigate its status.