fix(react): avoid type collision with @types/react@18.2.43 and greater - #28687
Conversation
|
lol literally just hit this too |
|
I'm experiencing this on "@types/react": "^18.0.17" |
|
@dmatora you should look at your lock file, not your |
liamdebeasi
left a comment
There was a problem hiding this comment.
Tested on React 17 as well and did not observe any change in behavior. 👍
|
@sean-perkins i created fresh project today (with npx) and it was broken out of the box |
|
@dmatora you will need to use the posted dev-build, the |
|
Hi 😃, I just add a I don't know if it is wrong, but it works for me :b |
Issue number: N/A
What is the current behavior?
Ionic React projects using
@types/react@18.2.43or greater will run into a type-check error on build withIonRouterOutletand potentially other components:Definitely typed decided to make a breaking type change in a patch release: DefinitelyTyped/DefinitelyTyped@b954269
What is the new behavior?
Does this introduce a breaking change?
Other information
Testing
npm run buildnpm run buildDev-build:
7.6.1-dev.11702322681.17e39348