X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a8f1160743ed01091910e3df3075a6cadfa6d960..refs/pull/5721/head:/resources/js/global.d.ts diff --git a/resources/js/global.d.ts b/resources/js/global.d.ts index da19545d1..b637c97c1 100644 --- a/resources/js/global.d.ts +++ b/resources/js/global.d.ts @@ -1,7 +1,18 @@ import {ComponentStore} from "./services/components"; +import {EventManager} from "./services/events"; +import {HttpManager} from "./services/http"; +import {Translator} from "./services/translations"; declare global { + const __DEV__: boolean; + interface Window { - $components: ComponentStore, + __DEV__: boolean; + $components: ComponentStore; + $events: EventManager; + $trans: Translator; + $http: HttpManager; + baseUrl: (path: string) => string; + importVersioned: (module: string) => Promise; } } \ No newline at end of file