1 | declare const window: {
|
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 | readonly window: any;
|
17 | };
|
18 | export default window;
|