@@ -19,23 +19,24 @@ export type ValidateLinkOptions<
1919 TOptions = unknown ,
2020 TDefaultFrom extends string = string ,
2121 TComp = 'a' ,
22- > = TOptions extends LinkComponentProps <
23- TComp ,
24- TRouter ,
25- InferFrom < TOptions , TDefaultFrom > ,
26- InferTo < TOptions > ,
27- InferMaskFrom < TOptions > ,
28- InferMaskTo < TOptions >
29- >
30- ? TOptions
31- : LinkComponentProps <
32- TComp ,
33- TRouter ,
34- InferFrom < TOptions , TDefaultFrom > ,
35- InferTo < TOptions > ,
36- InferMaskFrom < TOptions > ,
37- InferMaskTo < TOptions >
38- >
22+ > =
23+ TOptions extends LinkComponentProps <
24+ TComp ,
25+ TRouter ,
26+ InferFrom < TOptions , TDefaultFrom > ,
27+ InferTo < TOptions > ,
28+ InferMaskFrom < TOptions > ,
29+ InferMaskTo < TOptions >
30+ >
31+ ? TOptions
32+ : LinkComponentProps <
33+ TComp ,
34+ TRouter ,
35+ InferFrom < TOptions , TDefaultFrom > ,
36+ InferTo < TOptions > ,
37+ InferMaskFrom < TOptions > ,
38+ InferMaskTo < TOptions >
39+ >
3940
4041export type ValidateLinkOptionsArray <
4142 TRouter extends AnyRouter = RegisteredRouter ,
@@ -54,37 +55,39 @@ export type ValidateLinkOptionsArray<
5455export type ValidateUseSearchOptions <
5556 TOptions ,
5657 TRouter extends AnyRouter = RegisteredRouter ,
57- > = TOptions extends UseSearchOptions <
58- TRouter ,
59- InferFrom < TOptions > ,
60- InferStrict < TOptions > ,
61- InferShouldThrow < TOptions > ,
62- InferSelected < TOptions >
63- >
64- ? TOptions
65- : UseSearchOptions <
66- TRouter ,
67- InferFrom < TOptions > ,
68- InferStrict < TOptions > ,
69- InferShouldThrow < TOptions > ,
70- InferSelected < TOptions >
71- >
58+ > =
59+ TOptions extends UseSearchOptions <
60+ TRouter ,
61+ InferFrom < TOptions > ,
62+ InferStrict < TOptions > ,
63+ InferShouldThrow < TOptions > ,
64+ InferSelected < TOptions >
65+ >
66+ ? TOptions
67+ : UseSearchOptions <
68+ TRouter ,
69+ InferFrom < TOptions > ,
70+ InferStrict < TOptions > ,
71+ InferShouldThrow < TOptions > ,
72+ InferSelected < TOptions >
73+ >
7274
7375export type ValidateUseParamsOptions <
7476 TOptions ,
7577 TRouter extends AnyRouter = RegisteredRouter ,
76- > = TOptions extends UseParamsOptions <
77- TRouter ,
78- InferFrom < TOptions > ,
79- InferStrict < TOptions > ,
80- InferShouldThrow < TOptions > ,
81- InferSelected < TOptions >
82- >
83- ? TOptions
84- : UseParamsOptions <
85- TRouter ,
86- InferFrom < TOptions > ,
87- InferStrict < TOptions > ,
88- InferShouldThrow < TOptions > ,
89- InferSelected < TOptions >
90- >
78+ > =
79+ TOptions extends UseParamsOptions <
80+ TRouter ,
81+ InferFrom < TOptions > ,
82+ InferStrict < TOptions > ,
83+ InferShouldThrow < TOptions > ,
84+ InferSelected < TOptions >
85+ >
86+ ? TOptions
87+ : UseParamsOptions <
88+ TRouter ,
89+ InferFrom < TOptions > ,
90+ InferStrict < TOptions > ,
91+ InferShouldThrow < TOptions > ,
92+ InferSelected < TOptions >
93+ >
0 commit comments