@tanstack/react-router
Advanced tools
Comparing version 1.72.0 to 1.72.1
@@ -5,2 +5,2 @@ import { NoInfer, PickOptional } from './utils.js'; | ||
export declare function retainSearchParams<TSearchSchema extends object>(keys: Array<keyof TSearchSchema> | true): SearchMiddleware<TSearchSchema>; | ||
export declare function stripSearchParams<TSearchSchema, const TValues = Partial<NoInfer<TSearchSchema>> | Array<keyof PickOptional<TSearchSchema>>, const TInput = IsRequiredParams<TSearchSchema> extends never ? TValues | true : TValues>(input: NoInfer<TInput>): SearchMiddleware<TSearchSchema>; | ||
export declare function stripSearchParams<TSearchSchema, TOptionalProps = PickOptional<NoInfer<TSearchSchema>>, const TValues = Partial<NoInfer<TOptionalProps>> | Array<keyof TOptionalProps>, const TInput = IsRequiredParams<TSearchSchema> extends never ? TValues | true : TValues>(input: NoInfer<TInput>): SearchMiddleware<TSearchSchema>; |
{ | ||
"name": "@tanstack/react-router", | ||
"version": "1.72.0", | ||
"version": "1.72.1", | ||
"description": "Modern and scalable routing for React applications", | ||
@@ -5,0 +5,0 @@ "author": "Tanner Linsley", |
@@ -26,5 +26,6 @@ import { deepEqual } from './utils' | ||
TSearchSchema, | ||
TOptionalProps = PickOptional<NoInfer<TSearchSchema>>, | ||
const TValues = | ||
| Partial<NoInfer<TSearchSchema>> | ||
| Array<keyof PickOptional<TSearchSchema>>, | ||
| Partial<NoInfer<TOptionalProps>> | ||
| Array<keyof TOptionalProps>, | ||
const TInput = IsRequiredParams<TSearchSchema> extends never | ||
@@ -31,0 +32,0 @@ ? TValues | true |
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
1564168
19710