terriajs
terriajs copied to clipboard
React 18 upgrade prework 2
- [x] Prerequisite #7050
What this PR does
Fix most typescript errors introduced by upgrading @types/react
to 18, but don't actually upgrade package.json
yet (this version bump will be in the last PR that bumps versions of all react packages).
Test me
Tested locally with tsc -b
and tsc -b tsconfig-node.json
. Main test is passing CI.
Checklist
- [ ] There are unit tests to verify my changes are correct or unit tests aren't applicable (if so, write quick reason why unit tests don't exist)
- [ ] I've updated relevant documentation in
doc/
. - [ ] I've updated CHANGES.md with what I changed.
- [ ] I've provided instructions in the PR description on how to test this PR.