<!-- Please provide a clear and concise description of what the bug is. Include screenshots if needed. Please test using the latest version of the relevant React packages to make sure your issue has not already been fixed. --> React version: 16.13.1 ## Steps To Reproduce 1. Use type generics in a useEffect. <!-- Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Issues without reproduction steps or code examples may be immediately closed as not actionable. --> Code example: ```TypeScript function useBug<T>(): void { useEffect(() => { let bug: T; }, []); // <-- ESLint error: React Hook useEffect has a missing dependency: 'T'. } ``` ## The current behavior Dependency array throws ESLint error. ``` React Hook useEffect has a missing dependency: 'T'. Either include it or remove the dependency array react-hooks/exhaustive-deps ``` ## The expected behavior No missing dependencies reported.