forked from buefy/buefy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.d.ts
44 lines (37 loc) · 1003 Bytes
/
index.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import _Vue from "vue";
import {
BuefyConfig,
DialogProgrammatic,
ModalProgrammatic,
LoadingProgrammatic,
ToastProgrammatic,
SnackbarProgrammatic,
NotificationProgrammatic,
ConfigProgrammatic } from "./components";
// Adds Buefy method signatures to Vue instance (ie this.$buefy.dialog)
declare module 'vue/types/vue' {
interface Vue {
$buefy: BuefyNamespace
}
}
export declare type BuefyNamespace = {
dialog: typeof DialogProgrammatic,
loading: typeof LoadingProgrammatic,
modal: typeof ModalProgrammatic,
snackbar: typeof SnackbarProgrammatic,
toast: typeof ToastProgrammatic,
notification: typeof NotificationProgrammatic
}
declare const _default: {
install(Vue: typeof _Vue, config: BuefyConfig): void;
};
export {
DialogProgrammatic,
LoadingProgrammatic,
ModalProgrammatic,
SnackbarProgrammatic,
ToastProgrammatic,
NotificationProgrammatic,
ConfigProgrammatic
}
export default _default;