X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a8f1160743ed01091910e3df3075a6cadfa6d960..refs/pull/5280/head:/resources/js/global.d.ts diff --git a/resources/js/global.d.ts b/resources/js/global.d.ts index da19545d1..e505c96e0 100644 --- a/resources/js/global.d.ts +++ b/resources/js/global.d.ts @@ -1,7 +1,16 @@ 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, + $components: ComponentStore; + $events: EventManager; + $trans: Translator; + $http: HttpManager; + baseUrl: (path: string) => string; } } \ No newline at end of file