mirror of
https://github.com/facebook/docusaurus.git
synced 2025-08-03 16:59:06 +02:00
test(e2e): TypeCheck website/starter in min/max range of TS versions (#10063)
This commit is contained in:
parent
eb07e9d6d4
commit
e736dcb879
11 changed files with 58 additions and 24 deletions
|
@ -36,7 +36,7 @@ Docusaurus v3 now uses the following dependencies:
|
|||
- Node.js v18.0+
|
||||
- React v18.0+
|
||||
- MDX v3.0+
|
||||
- TypeScript v5.0+
|
||||
- TypeScript v5.1+
|
||||
- prism-react-renderer v2.0+
|
||||
- react-live v4.0+
|
||||
- remark-emoji v4.0+
|
||||
|
@ -98,7 +98,7 @@ For TypeScript users:
|
|||
// upgrade React types to v18.0+
|
||||
- "@types/react": "^17.0.69",
|
||||
+ "@types/react": "^18.2.29",
|
||||
// upgrade TypeScript to v5.0+
|
||||
// upgrade TypeScript to v5.1+
|
||||
- "typescript": "~4.7.4"
|
||||
+ "typescript": "~5.2.2"
|
||||
}
|
||||
|
@ -689,9 +689,9 @@ However, this is a new major library version containing breaking changes, and we
|
|||
|
||||
:::
|
||||
|
||||
### TypeScript v5.0+
|
||||
### TypeScript v5.1+
|
||||
|
||||
Docusaurus v3 now requires **TypeScript >= 5.0**.
|
||||
Docusaurus v3 now requires **TypeScript >= 5.1**.
|
||||
|
||||
:::info How to upgrade
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue