-
Notifications
You must be signed in to change notification settings - Fork 13.2k
Open
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationHelp WantedYou can do thisYou can do this
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
Version: 1.76.2
Commit: ee2b180d582a7f601fa6ecfdad8d9fd269ab1884
Date: 2023-03-14T17:47:26.641Z
Browser: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/111.0.0.0 Safari/537.36
Steps to Reproduce:
- Open vscode.dev
- Create a new file and set language mode to JavaScript
- Paste the following:
/**
* This works
* ```
* some
* indentations
* and
* some
* more
* ```
*/
function foo() {}
/**
* @typedef MyObj
* @property {number} foo This doesn't
* ```
* some
* indentations
* and
* some
* more
* ```
*/
const obj = /** @type {MyObj} */ (null);
obj.foo- Hover over
fooon the last line.
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationHelp WantedYou can do thisYou can do this

