UNPKG

520 BTypeScriptView Raw
1declare const _default: {
2 document: {
3 title: string;
4 };
5 location: URL;
6 history: {
7 readonly state: any;
8 pushState(state: any, _: string, path: string): void;
9 replaceState(state: any, _: string, path: string): void;
10 go(n: number): void;
11 back(): void;
12 forward(): void;
13 };
14 addEventListener: (type: "popstate", listener: () => void) => void;
15 removeEventListener: (type: "popstate", listener: () => void) => void;
16};
17export default _default;