-
Notifications
You must be signed in to change notification settings - Fork 13.1k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue
Milestone
Description
From @benjaminmillhouse on October 6, 2016 19:18
- VSCode Version: 1.5.3
- OS Version: macOS 10.12
@template JSDoc comments are not recognized if applied directly to a prototype function definition.
/** @constructor */
function Foo() { }
/**
* @template T
* @param {T} bar
* @returns {T}
*/
Foo.prototype.foo = function (bar) {
};
new Foo().foo({id: 1234}). // Intellisense will not provide any recommendations in this exampleEdit from @waderyan: added syntax specifier to code block
Copied from original issue: microsoft/vscode#13307
RunDevelopment, slek22 and bellp
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationVS Code TrackedThere is a VS Code equivalent to this issueThere is a VS Code equivalent to this issue