BookStack/resources/js/global.d.ts

12 lines
334 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";
declare global {
interface Window {
$components: ComponentStore,
$events: EventManager,
2024-07-18 22:13:14 +08:00
$http: HttpManager,
baseUrl: (path: string) => string;
}
}