Skip to content

Commit 4ec115c

Browse files
committed
docs: update with disclaimer on useQueries TS version
1 parent 83e8887 commit 4ec115c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/src/pages/typescript.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ React Query is now written in **TypeScript** to make sure the library and your p
88
Things to keep in mind:
99

1010
- Types currently require using TypeScript v3.8 or greater
11+
- for [useQueries](./reference/useQueries.md), TypeScript v4.1 or greater is required to get the correct return type for each individual query (below v4.1 will mean the type of each returned `data` property is left as `unknown`)
1112
- Changes to types in this repository are considered **non-breaking** and are usually released as **patch** semver changes (otherwise every type enhancement would be a major version!).
1213
- It is **highly recommended that you lock your react-query package version to a specific patch release and upgrade with the expectation that types may be fixed or upgraded between any release**
1314
- The non-type-related public API of React Query still follows semver very strictly.

0 commit comments

Comments
 (0)