X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/b35b62d59ff057ce5cfbc5fb463431b086f5c830..d22413b9317b40110fa2fd41134d1831dd760d0b:/resources/js/global.d.ts diff --git a/resources/js/global.d.ts b/resources/js/global.d.ts index 0d7efc4d4..e505c96e0 100644 --- a/resources/js/global.d.ts +++ b/resources/js/global.d.ts @@ -1,6 +1,7 @@ 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; @@ -8,6 +9,7 @@ declare global { interface Window { $components: ComponentStore; $events: EventManager; + $trans: Translator; $http: HttpManager; baseUrl: (path: string) => string; }