]> BookStack Code Mirror - bookstack/blob - resources/js/global.d.ts
Merge pull request #5626 from BookStackApp/rubentalstra-development
[bookstack] / resources / js / global.d.ts
1 import {ComponentStore} from "./services/components";
2 import {EventManager} from "./services/events";
3 import {HttpManager} from "./services/http";
4 import {Translator} from "./services/translations";
5
6 declare global {
7     const __DEV__: boolean;
8
9     interface Window {
10         __DEV__: boolean;
11         $components: ComponentStore;
12         $events: EventManager;
13         $trans: Translator;
14         $http: HttpManager;
15         baseUrl: (path: string) => string;
16         importVersioned: (module: string) => Promise<object>;
17     }
18 }
Morty Proxy This is a proxified and sanitized view of the page, visit original site.