mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-07-28 17:02:04 +03:00
JS: Converted come common services to typescript
This commit is contained in:
9
resources/js/global.d.ts
vendored
9
resources/js/global.d.ts
vendored
@ -1,12 +1,7 @@
|
||||
declare module '*.svg' {
|
||||
const content: string;
|
||||
export default content;
|
||||
}
|
||||
import {ComponentStore} from "./services/components";
|
||||
|
||||
declare global {
|
||||
interface Window {
|
||||
$components: {
|
||||
first: (string) => Object,
|
||||
}
|
||||
$components: ComponentStore,
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user