Skip to content

Commit 4b2f1ab

Browse files
authored
fix(README): The correct option name is emits (#617)
1 parent 841e269 commit 4b2f1ab

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -495,16 +495,16 @@ export default {
495495

496496
</details>
497497

498-
### `emit` Options
498+
### `emits` Options
499499

500500
<details>
501501
<summary>
502-
❌ <code>emit</code> option is provided in type-level only, in order to align with Vue 3's type interface. Does NOT have actual effects on the code.
502+
❌ <code>emits</code> option is provided in type-level only, in order to align with Vue 3's type interface. Does NOT have actual effects on the code.
503503
</summary>
504504

505505
```ts
506506
defineComponent({
507-
emit: {
507+
emits: {
508508
// has no effects
509509
submit: (eventOption) => {
510510
if (...) {

0 commit comments

Comments
 (0)