- Notifications
You must be signed in to change notification settings - Fork 13.2k
Closed
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Help WantedYou can do thisYou can do this
Milestone
Description
TypeScript Version: 4.0.0-dev.20200701
Search Terms: jsdoc deprecated tag
Code
interfaceESMap<K,V>{}/** @deprecated */interfaceMap<T>extendsESMap<string,T>{}declareconstMap: new<K,V>()=>ESMap<K,V>;newMap<string,number>();// 'Map' is crossed outExpected behavior:
Mapthe value is not deprecated and should not be crossed out.
Actual behavior:
Mapthe value is considered deprecated, even thoughMapthe type is not part of the value declaration ofMap:
Related Issues:#38523
Metadata
Metadata
Assignees
Labels
BugA bug in TypeScriptA bug in TypeScriptDomain: JSDocRelates to JSDoc parsing and type generationRelates to JSDoc parsing and type generationEffort: ModerateRequires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Requires experience with the TypeScript codebase, but feasible. Harder than "Effort: Casual".Help WantedYou can do thisYou can do this

