#Errors for Deprecated APIs
7 messages · Page 1 of 1 (latest)
you can use the /** @deprecated */ annotation to get warnings in VSCode (and probably other editors). that's not a hard error though
if you use ESLint there's this plugin: https://www.npmjs.com/package/eslint-plugin-deprecation
That may work. Thanks, @primal timber!
Hey, sorry for pinging, should https://typescript-eslint.io/rules/no-deprecated have the same effect?
As far as I've tried, using this rule won't flag function calls with deprecated properties as deprecated
Essentially the framework maintainer annotated of the property is deprecated
sounds like it does, but i don't think i've used it (or the plugin i linked to, FWIW). try it and see?