Skip to content

v1.8.10.4: Fix two @deprecated bugs

Compare
Choose a tag to compare
@jeffrey-easyesi jeffrey-easyesi released this 11 Aug 23:55
· 62 commits to master since this release
1. Fix deprecation of `export`ed or `declare`d variables
   "/*@deprecated*/ export var foo" wasn't working. TypeScript 1.5
   introduced a new intermediate node VariableDeclarationList, so we
   were looking for @deprecated in the wrong place.
2. Show deprecation of individual module imports
   With `import {x} from`/`export {x} from` syntax, display deprecation
   of the aliased symbol (the alias itself isn't what's deprecated).