dillon1000/react

Commit

reference not add to dependencies if only its type is used as typeof arg (#19316)

* reference not add to dependencies if only its type is used as typeof arg

* Add a few more tests
Browse files
Changed paths2 files
First-parent comparison
M packages/eslint-plugin-react-hooks/__tests__/ESLintRuleExhaustiveDeps-test.js ModifiedM packages/eslint-plugin-react-hooks/src/ExhaustiveDeps.js Modified
Patch

Files changed

Rendering syntax-highlighted changes…