Why do TypeScript errors for a React project in VSCode differ from those that appear when running the app?
I was looking at https://github.com/microsoft/TypeScript/issues/57488, and based off of this, created a new React app with the following code: