Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mark typescript class or function as deprecated with jsDoc #84580

Closed
finas opened this issue Nov 12, 2019 · 2 comments
Closed

Mark typescript class or function as deprecated with jsDoc #84580

finas opened this issue Nov 12, 2019 · 2 comments
Assignees
Labels
javascript JavaScript support issues typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)

Comments

@finas
Copy link

finas commented Nov 12, 2019

It's glad to see jsdoc is supported in typescript default and comment a class is easy.I'm searching a advanced usage for code hint intergated with jsdoc.

/**
 @author kbg
 @deprecated removed in future
*/
class DeprecatedClass{
}

hope to see the hint for warnning like this

@spahnke
Copy link
Contributor

spahnke commented Nov 12, 2019

This would have to be implemented in the TypeScript service first. AFAICT the upstream issues are

@mjbvz
Copy link
Collaborator

mjbvz commented Nov 12, 2019

Track upstream by microsoft/TypeScript#33092

@mjbvz mjbvz closed this as completed Nov 12, 2019
@mjbvz mjbvz added javascript JavaScript support issues typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code) labels Nov 12, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
javascript JavaScript support issues typescript Typescript support issues upstream Issue identified as 'upstream' component related (exists outside of VS Code)
Projects
None yet
Development

No branches or pull requests

3 participants