UNPKG

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