BookStack/resources/js/global.d.ts

16 lines
443 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 {
$components: ComponentStore;
$events: EventManager;
$trans: Translator;
$http: HttpManager;
2024-07-18 22:13:14 +08:00
baseUrl: (path: string) => string;
}
}