Skip to content

Instantly share code, notes, and snippets.

@nickdotht
Created November 25, 2021 22:01
Show Gist options
  • Save nickdotht/6b0a60df4ab88608e5f36194db2d48ba to your computer and use it in GitHub Desktop.
Save nickdotht/6b0a60df4ab88608e5f36194db2d48ba to your computer and use it in GitHub Desktop.
React/TypeScript: - Cannot find namespace 'XXXXXXX'
This happens when you try to use JSX from a ts file. Make sure your file ends with `.tsx`, not `.ts`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment