]> BookStack Code Mirror - bookstack/blobdiff - resources/js/global.d.ts
TypeScript: Updated compile target, addressed issues
[bookstack] / resources / js / global.d.ts
index b637c97c1b92a7cf55dd3556c427d4e0e1992e54..239f4b9249a1a13ad268bf1ea667effc3dcdb062 100644 (file)
@@ -15,4 +15,6 @@ declare global {
         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