Closed
Description
Version
6.0.0-beta.0
Test Case
n/a
Steps to reproduce
- create a typescript project with create-react-app
- try to install
@types/[email protected]
(fails because types haven't been updated)
Expected Behavior
yarn add @types/[email protected]
works without errors because there's a version for v6 on the npm registry- I can import and use the new props and elements from v6, such as
Routes
Actual Behavior
- the installation of types fails
- because I don't have the v6 types, I can't implement the prop rename from
component
toas
(fortunatelyelement
is available) - because I don't have the v6 types, I can't import
Routes
because typescript thinksSwitch
still exists
Metadata
Metadata
Assignees
Labels
No labels