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