]> BookStack Code Mirror - bookstack/blobdiff - resources/js/global.d.ts
Search: Prevented negated terms filling in UI inputs
[bookstack] / resources / js / global.d.ts
index 537da63685455d1f4cdca2bf5c088528948b0a73..0d7efc4d43c8673e4e3a7def39d1082a5dfeaba5 100644 (file)
@@ -1,12 +1,14 @@
-declare module '*.svg' {
-    const content: string;
-    export default content;
-}
+import {ComponentStore} from "./services/components";
+import {EventManager} from "./services/events";
+import {HttpManager} from "./services/http";
 
 declare global {
+    const __DEV__: boolean;
+
     interface Window {
-        $components: {
-            first: (string) => Object,
-        }
+        $components: ComponentStore;
+        $events: EventManager;
+        $http: HttpManager;
+        baseUrl: (path: string) => string;
     }
 }
\ No newline at end of file