Skip to content

Commit 7ebabaf

Browse files
committed
Update README.md
1 parent 18e7ef3 commit 7ebabaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ but still need a functional component.
163163
164164
Returns a type-safe functional component builder with the following methods:
165165
- `withProps` - identical to [the exported `withProps`](#withprops), but accepts only one argument - props definition. Returns the same object as the `component` function.
166-
- `emits` - accepts a map of event declaration like [this](https://github.com/Raiondesu/eventhoven#eventmapevents). Returns the same object as the `component` function.
166+
- `emits` - accepts a map of event declaration like [this](https://v3.vuejs.org/guide/component-custom-events.html#defining-custom-events). Unfortunately, only object event delcaration is supported at the moment. Returns the same object as the `component` function.
167167
- `setup` - accepts the functional component itself, providing type-safety. Returns the component itself. Must be called last.
168168

169169
```ts

0 commit comments

Comments
 (0)