Support @class in JSDoc #12681
Labels
Domain: JavaScript
The issue relates to JavaScript specifically
Domain: JSDoc
Relates to JSDoc parsing and type generation
Has Repro
This issue has compiler-backed repros: https://aka.ms/ts-repros
Help Wanted
You can do this
Suggestion
An idea for TypeScript
VS Code Tracked
There is a VS Code equivalent to this issue
Milestone
From microsoft/vscode#15168
For the following JavaScript code:
The
@class
jsdoc annotation forFoo
does not seem to be recognized, so the type offoo
inrequest
isany
:Changing the code to use
class
fixes the issue (you don't actually need the@class
in this case):The text was updated successfully, but these errors were encountered: