13 lines
387 B
Plaintext
13 lines
387 B
Plaintext
import { ParsedHistoryState } from '@tanstack/history';
|
|
import { AnySchema } from './validators.js';
|
|
export interface ParsedLocation<TSearchObj extends AnySchema = {}> {
|
|
href: string;
|
|
pathname: string;
|
|
search: TSearchObj;
|
|
searchStr: string;
|
|
state: ParsedHistoryState;
|
|
hash: string;
|
|
maskedLocation?: ParsedLocation<TSearchObj>;
|
|
unmaskOnReload?: boolean;
|
|
}
|