]> BookStack Code Mirror - bookstack/blobdiff - resources/js/global.d.ts
respective book and chapter structure added.
[bookstack] / resources / js / global.d.ts
index 1f216b7a53c0238c15783df339bf16cd28deec3c..e505c96e0d4a24f1a5d83fcee75a9e1b70962273 100644 (file)
@@ -1,12 +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,
-        $events: EventManager,
-        $http: HttpManager,
+        $components: ComponentStore;
+        $events: EventManager;
+        $trans: Translator;
+        $http: HttpManager;
         baseUrl: (path: string) => string;
     }
 }
\ No newline at end of file