]> BookStack Code Mirror - bookstack/blob - resources/js/global.d.ts
Meta: Added lexical licensing info and added TS/JS CI testing
[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
5 declare global {
6     const __DEV__: boolean;
7
8     interface Window {
9         $components: ComponentStore;
10         $events: EventManager;
11         $http: HttpManager;
12         baseUrl: (path: string) => string;
13     }
14 }