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
egorio
changed the title
bug: type inference for destructured parameters in some cases don't work
bug: type inference for destructured parameters doesn't work in some cases
May 18, 2023
See last 2 cases in https://github.com/rehearsal-js/rehearsal-js/blob/master/packages/codefixes/test/fixtures/base-codefixes/annotateWithStrictTypeFromJSDoc/index.ts.
The
inferenceOfDestructuredParams
has types inferred while theissueWithTheReturnType
doesn't.The issues is possibly related to
findTargetNode
.The text was updated successfully, but these errors were encountered: