BookStack/resources/js/global.d.ts

18 lines
531 B
TypeScript
Raw Normal View History

import {ComponentStore} from "./services/components";
import {EventManager} from "./services/events";
2024-07-18 22:13:14 +08:00
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;
2024-07-18 22:13:14 +08:00
baseUrl: (path: string) => string;
importVersioned: (module: string) => Promise<object>;
}
}