Skip to content

Commit 891b7d2

Browse files
authored
occured -> occurred (#1742)
1 parent 684dec0 commit 891b7d2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/react-form/src/createFormHook.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const formContext = createContext<AnyFormApi>(null as never)
5050
* Then `T` becomes `undefined`.
5151
*
5252
* Here, we are checking if the passed type `T` extends `DefaultT` and **only**
53-
* `DefaultT`, as if that's the case we assume that inferencing has not occured.
53+
* `DefaultT`, as if that's the case we assume that inferencing has not occurred.
5454
*/
5555
type UnwrapOrAny<T> = [unknown] extends [T] ? any : T
5656
type UnwrapDefaultOrAny<DefaultT, T> = [DefaultT] extends [T]

packages/solid-form/src/createFormHook.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ import type { SolidFormExtendedApi } from './createForm'
4646
* Then `T` becomes `undefined`.
4747
*
4848
* Here, we are checking if the passed type `T` extends `DefaultT` and **only**
49-
* `DefaultT`, as if that's the case we assume that inferencing has not occured.
49+
* `DefaultT`, as if that's the case we assume that inferencing has not occurred.
5050
*/
5151
type UnwrapOrAny<T> = [unknown] extends [T] ? any : T
5252
type UnwrapDefaultOrAny<DefaultT, T> = [DefaultT] extends [T]

0 commit comments

Comments
 (0)