Skip to content

Commit 621b53e

Browse files
committed
Added Known Limitations title to warning
1 parent e1a4222 commit 621b53e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/api/createSelector.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ const createTypedDraftSafeSelector = createDraftSafeSelector.withTypes<RootState
9999

100100
Import and use the pre-typed `createTypedDraftSafeSelector` function, and it will automatically know that the `state` argument is of type `RootState`.
101101

102-
:::warning
102+
:::warning Known Limitations
103103
Currently this approach only works if input selectors are provided as a single array.
104104

105105
If you pass the input selectors as separate inline arguments, the parameter types of the result function will not be inferred. As a workaround you can either

0 commit comments

Comments
 (0)