fix(eslint-plugin-react-hooks): accepting `as` expressions as deps array (#28189)
## Summary This PR closes #25844 The original issue talks about `as const`, but seems like it fails for any `as X` expressions since it adds another nesting level to the AST. EDIT: Also closes #20162 ## How did you test this change? Added unit tests
S
StyleShit committed
a1433ca0bacff76f720ffec9a0020f56e8c9ffed
Parent: 53b12e4
Committed by GitHub <[email protected]>
on 2/1/2024, 7:30:17 PM