Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork2.8k
Closed
Description
TypeScript recently addeddetection for@deprecated
JSDoc comments so unless they also start reporting them as type errors (seems unlikely?) I think it makes sense to push the user to stop using deprecated code before the code is actually dropped in a new release and the code breaks without explanation.
/**@deprecated Use sing() */functiontalk(){}talk();// Error: `talk` was marked as deprecated: Use sing()