Gonçalo Fernandes

Results 2 comments of Gonçalo Fernandes

This issue might be related: [38264](https://github.com/microsoft/TypeScript/issues/38264).

Consider ReactJS's `useEffect`, the first argument must be a function that returns `void | (() => void | undefined)`. The problem is the following is valid: ```ts const f: ()...