BookStack/resources/js/global.d.ts
Dan Brown f41c02cbd7
Some checks are pending
lint-js / build (push) Waiting to run
test-js / build (push) Waiting to run
TS: Converted app file and animations service
Extracted functions out of app file during changes to clean up.
Altered animation function to use normal css prop names instead of JS
CSS prop names.
2024-10-11 15:19:19 +01:00

18 lines
531 B
TypeScript

import {ComponentStore} from "./services/components";
import {EventManager} from "./services/events";
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;
baseUrl: (path: string) => string;
importVersioned: (module: string) => Promise<object>;
}
}