You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
values are marked deprecated when only type has @deprecated #39474
interfaceESMap<K,V>{}/** @deprecated */interfaceMap<T>extendsESMap<string,T>{}declareconstMap: new<K,V>()=>ESMap<K,V>;newMap<string,number>();// 'Map' is crossed out
Expected behavior:
Map the value is not deprecated and should not be crossed out.
Actual behavior:
Map the value is considered deprecated, even though Map the type is not part of the value declaration of Map:
changed the title [-]value are marked deprecated when only type has @deprecated[/-][+]values are marked deprecated when only type has @deprecated[/+]on Jul 8, 2020
Activity
DanielRosenwasser commentedon Jul 8, 2020
Probably look into
getSemanticMeaning, then add some special cases. See if that is useful.[-]jsdoc deprecated tag is too aggressive[/-][+]value are marked deprecated when only type has @deprecated[/+][-]value are marked deprecated when only type has @deprecated[/-][+]values are marked deprecated when only type has @deprecated[/+]sandersn commentedon Jul 9, 2020
Fixed by #39323