Skip to content

Conversation

@eps1lon
Copy link
Owner

@eps1lon eps1lon commented Mar 21, 2024

Closes eps1lon/DefinitelyTyped#21

Changes

Only one non-codemoddable change that is related to ReactElement<unknown>

@eps1lon eps1lon changed the title Install React 19 types Compat with React 19 types Mar 21, 2024
@eps1lon eps1lon self-assigned this Mar 21, 2024
eps1lon added 2 commits March 21, 2024 21:09
```bash
$ npx types-react-codemod.cjs preset-19 .
Processing 230 files...
Results:
0 errors
227 unmodified
0 skipped
3 ok
```
@eps1lon
Copy link
Owner Author

eps1lon commented Mar 21, 2024

All green on yarn tsc -b tsconfig.json except

packages/react-router-dom-v5-compat/index.ts:185:8 - error TS2307: Cannot find module './react-router-dom' or its corresponding type declarations.

185 } from "./react-router-dom";
           ~~~~~~~~~~~~~~~~~~~~

which seems unrelated.

@eps1lon eps1lon closed this Mar 21, 2024
@eps1lon eps1lon changed the title Compat with React 19 types react-router: Compat with React 19 types Mar 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

React 19 and Remix

2 participants