]> BookStack Code Mirror - bookstack/blobdiff - resources/js/global.d.ts
Perms: Fixed some issues made when adding transactions
[bookstack] / resources / js / global.d.ts
index 0d7efc4d43c8673e4e3a7def39d1082a5dfeaba5..b637c97c1b92a7cf55dd3556c427d4e0e1992e54 100644 (file)
@@ -1,14 +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 {
+        __DEV__: boolean;
         $components: ComponentStore;
         $events: EventManager;
+        $trans: Translator;
         $http: HttpManager;
         baseUrl: (path: string) => string;
+        importVersioned: (module: string) => Promise<object>;
     }
 }
\ No newline at end of file