X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/22d078b47f5bd024da98432c7db745d953291712..refs/pull/5312/head:/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; }