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
it's actually wrong in both cases - it doesn't cope with overloads well and incorrectly doesn't mark any of the overloads as deprecated with ts 4.1 - and all of them as deprecated with ts 4.2
I've opened this issue to track it - and for visibility - I'll take a look at fixing the rule and test it against my case
The text was updated successfully, but these errors were encountered:
Actually - I don't think this is a bug here - I don't think we can know which jsdoc comment to use if an overload doesn't have one - it looks like this was a ts change to how these are resolved - that has been fixed here microsoft/TypeScript#43165
Once I'm sure that's the issue I'll close this Yep - this is the reason
I've made a minimal repro here
with ts: 4.1 - https://github.com/johnjesse/ts-dep-issue/tree/ts-4.1
and ts: 4.2 - https://github.com/johnjesse/ts-dep-issue/tree/ts-4.2
it's actually wrong in both cases - it doesn't cope with overloads well and incorrectly doesn't mark any of the overloads as deprecated with ts 4.1 - and all of them as deprecated with ts 4.2
I've opened this issue to track it - and for visibility - I'll take a look at fixing the rule and test it against my case
The text was updated successfully, but these errors were encountered: