File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
packages/vue-final-modal/src Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,8 @@ import VueFinalModal from './components/VueFinalModal/VueFinalModal.vue'
44import ModalFullscreen from './components/ModalFullscreen/ModalFullscreen.vue'
55import ModalBottom from './components/ModalBottom/ModalBottom.vue'
66
7+ import type { Vfm } from './Modal'
8+
79/** Types */
810export * from './Modal'
911
@@ -30,3 +32,15 @@ export type { ModalBottomEmits } from './components/ModalBottom/ModalBottom.vue'
3032
3133/** Composables */
3234export { useVfm , useModal , useVfmAttrs } from './useApi'
35+
36+ declare module '@vue/runtime-core' {
37+ export interface ComponentCustomProperties {
38+ /**
39+ * Vue Final Modal global state for the modal components and also provides
40+ * functions that can be used to control the modal components. @see {Vfm}
41+ */
42+ $vfm : Vfm
43+ }
44+ }
45+
46+ export { }
You can’t perform that action at this time.
0 commit comments