File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ const formContext = createContext<AnyFormApi>(null as never)
50
50
* Then `T` becomes `undefined`.
51
51
*
52
52
* 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 .
54
54
*/
55
55
type UnwrapOrAny < T > = [ unknown ] extends [ T ] ? any : T
56
56
type UnwrapDefaultOrAny < DefaultT , T > = [ DefaultT ] extends [ T ]
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ import type { SolidFormExtendedApi } from './createForm'
46
46
* Then `T` becomes `undefined`.
47
47
*
48
48
* 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 .
50
50
*/
51
51
type UnwrapOrAny < T > = [ unknown ] extends [ T ] ? any : T
52
52
type UnwrapDefaultOrAny < DefaultT , T > = [ DefaultT ] extends [ T ]
You can’t perform that action at this time.
0 commit comments