UNPKG

434 BTypeScriptView Raw
1import { History, LocationState } from './index';
2import { getConfirmation } from './DOMUtils';
3
4export interface BrowserHistoryBuildOptions {
5 basename?: string | undefined;
6 forceRefresh?: boolean | undefined;
7 getUserConfirmation?: typeof getConfirmation | undefined;
8 keyLength?: number | undefined;
9}
10
11export default function createBrowserHistory<S = LocationState>(options?: BrowserHistoryBuildOptions): History<S>;