fix: make to
required if from
is not set
#3934
Annotations
4 errors and 1 warning
Run Checks
Property 'to' is missing in type '{ children: string; "data-testid": string; hash: string; activeOptions: { includeHash: true; }; activeProps: { className: string; }; hashScrollIntoView: boolean | ScrollIntoViewOptions | undefined; }' but required in type 'RequiredToOptions<Router<RootRoute<undefined, {}, AnyContext, AnyContext, {}, undefined, RootRouteChildren, FileRouteTypes>, ... 4 more ..., Record<...>>, string, undefined>'.
|
Run Checks
Property 'to' is missing in type '{ children: string; "data-testid": string; hash: string; activeOptions: { includeHash: true; }; activeProps: { className: string; }; hashScrollIntoView: boolean | ScrollIntoViewOptions | undefined; }' but required in type 'RequiredToOptions<Router<RootRoute<undefined, {}, AnyContext, AnyContext, {}, undefined, RootRouteChildren, FileRouteTypes>, ... 4 more ..., Record<...>>, string, undefined>'.
|
Run Checks
Property 'to' is missing in type '{ children: string; hash: string; activeOptions: { includeHash: true; }; activeProps: { className: string; }; hashScrollIntoView: boolean | ScrollIntoViewOptions | undefined; }' but required in type 'RequiredToOptions<Router<RootRoute<undefined, {}, AnyContext, AnyContext, {}, undefined, RootRouteChildren, FileRouteTypes>, ... 4 more ..., Record<...>>, string, undefined>'.
|
Run Checks
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading