You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
407 B
15 lines
407 B
import { History, LocationState } from './index';
|
|
import { getConfirmation } from './DOMUtils';
|
|
|
|
export type HashType = 'hashbang' | 'noslash' | 'slash';
|
|
|
|
export interface HashHistoryBuildOptions {
|
|
basename?: string;
|
|
hashType?: HashType;
|
|
getUserConfirmation?: typeof getConfirmation;
|
|
}
|
|
|
|
export default function createHashHistory<S = LocationState>(
|
|
options?: HashHistoryBuildOptions,
|
|
): History<S>;
|