Skip to content

Commit 57800a7

Browse files
committed
feat(types): export complete type definition
1 parent e98039a commit 57800a7

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

types/index.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import './lib'
21
import Vue, { PluginObject } from 'vue'
2+
import './lib'
33

44
export class VueFinalModalComponant extends Vue {
55
$refs: {

types/lib.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
declare module 'vue-final-modal/lib' {
22
import VfmPlugin from 'vue-final-modal'
3+
34
export default VfmPlugin
5+
export * from 'vue-final-modal'
46
}

0 commit comments

Comments
 (0)