@tanstack/react-router
Advanced tools
Comparing version 1.58.16 to 1.58.17
@@ -16,3 +16,3 @@ export { createHistory, createBrowserHistory, createHashHistory, createMemoryHistory, } from '@tanstack/history'; | ||
export { useLinkProps, createLink, Link } from './link.js'; | ||
export type { CleanPath, Split, ParsePathParams, Join, Last, RemoveTrailingSlashes, RemoveLeadingSlashes, SearchPaths, SearchRelativePathAutoComplete, RelativeToParentPathAutoComplete, RelativeToCurrentPathAutoComplete, AbsolutePathAutoComplete, RelativeToPathAutoComplete, NavigateOptions, ToOptions, ToMaskOptions, ToSubOptions, ResolveRoute, SearchParamOptions, PathParamOptions, ToPathOption, ActiveOptions, LinkOptions, CheckPath, ResolveRelativePath, UseLinkPropsOptions, ActiveLinkOptions, LinkProps, LinkComponent, CreateLinkProps, } from './link.js'; | ||
export type { CleanPath, Split, ParsePathParams, Join, Last, RemoveTrailingSlashes, RemoveLeadingSlashes, SearchPaths, SearchRelativePathAutoComplete, RelativeToParentPathAutoComplete, RelativeToCurrentPathAutoComplete, AbsolutePathAutoComplete, RelativeToPathAutoComplete, NavigateOptions, ToOptions, ToMaskOptions, ToSubOptions, ResolveRoute, SearchParamOptions, PathParamOptions, ToPathOption, ActiveOptions, LinkOptions, CheckPath, ResolveRelativePath, UseLinkPropsOptions, ActiveLinkOptions, LinkProps, LinkComponent, CreateLinkProps, MakeOptionalPathParams, } from './link.js'; | ||
export type { ParsedLocation } from './location.js'; | ||
@@ -19,0 +19,0 @@ export { Matches, useMatchRoute, MatchRoute, useMatches, useParentMatches, useChildMatches, isMatch, } from './Matches.js'; |
@@ -61,6 +61,6 @@ import { ParsedLocation } from './location.js'; | ||
type ResolveRelativeToParams<TRouter extends AnyRouter, TParamVariant extends ParamVariant, TFrom, TTo, TToParams = ResolveToParams<TRouter, TParamVariant, TFrom, TTo>> = TParamVariant extends 'SEARCH' ? TToParams : string extends TFrom ? TToParams : MakeDifferenceOptional<ResolveFromParams<TRouter, TParamVariant, TFrom>, TToParams>; | ||
interface MakeOptionalSearchParams<in out TRouter extends AnyRouter, in out TFrom, in out TTo> { | ||
export interface MakeOptionalSearchParams<in out TRouter extends AnyRouter, in out TFrom, in out TTo> { | ||
search?: true | (ParamsReducer<TRouter, 'SEARCH', TFrom, TTo> & {}); | ||
} | ||
interface MakeOptionalPathParams<in out TRouter extends AnyRouter, in out TFrom, in out TTo> { | ||
export interface MakeOptionalPathParams<in out TRouter extends AnyRouter, in out TFrom, in out TTo> { | ||
params?: true | (ParamsReducer<TRouter, 'PATH', TFrom, TTo> & {}); | ||
@@ -67,0 +67,0 @@ } |
{ | ||
"name": "@tanstack/react-router", | ||
"version": "1.58.16", | ||
"version": "1.58.17", | ||
"description": "Modern and scalable routing for React applications", | ||
@@ -5,0 +5,0 @@ "author": "Tanner Linsley", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1511744
18921