There is a snippet in my question explaining why this won’t compile in typescript. I believe the type definitions are outdated. For the version I’m using ^8.6. For the state variable it’s defined above, sorry for not being clear. I now edited my question so it’s clearer…
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
I'm getting a typescript compiler error in the new library | 1 | 3089 | February 13, 2023 | |
Typescript type for appState? | 1 | 4032 | July 24, 2020 | |
Typescript/react example code not compiling | 3 | 2617 | March 22, 2022 | |
Creating a custom login and sign up with React Typescript | 1 | 2054 | July 18, 2022 | |
Auth0 Integration with GoogleHome | 6 | 5781 | July 30, 2019 |