Skip to content

Commit e382ba4

Browse files
committed
fix: prop should be prompted to be optional in ts. #171
1 parent ef3d0ba commit e382ba4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { defineComponent } from 'vue';
1+
import { Plugin } from 'vue';
22
import Tree from './components/Tree';
33

4-
export default defineComponent(Tree);
4+
export default Tree as typeof Tree & Plugin;

0 commit comments

Comments
 (0)