]> BookStack Code Mirror - bookstack/blobdiff - resources/js/global.d.ts
TypeScript: Updated compile target, addressed issues
[bookstack] / resources / js / global.d.ts
index e505c96e0d4a24f1a5d83fcee75a9e1b70962273..239f4b9249a1a13ad268bf1ea667effc3dcdb062 100644 (file)
@@ -7,10 +7,14 @@ 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
+}
+
+export type CodeModule = (typeof import('./code/index.mjs'));
\ No newline at end of file