bookstack/resources/js/global.d.ts

14 lines
363 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 {
const __DEV__: boolean;
interface Window {
$components: ComponentStore;
$events: EventManager;
$http: HttpManager;
2024-07-18 22:13:14 +08:00
baseUrl: (path: string) => string;
}
}