[no-use-before-define] 'React' was used before it was defined on edited code · Issue #2540 · typescript-eslint/typescript-eslint

I have tried restarting my IDE and the issue persists. I have updated to the latest version of the packages. I have read the FAQ and my problem is not listed. Repro This is some strange error I inc...