mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
JS: Converted http service to ts
This commit is contained in:
3
resources/js/global.d.ts
vendored
3
resources/js/global.d.ts
vendored
@ -1,9 +1,12 @@
|
||||
import {ComponentStore} from "./services/components";
|
||||
import {EventManager} from "./services/events";
|
||||
import {HttpManager} from "./services/http";
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
$components: ComponentStore,
|
||||
$events: EventManager,
|
||||
$http: HttpManager,
|
||||
baseUrl: (path: string) => string;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user