We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
emits
1 parent 841e269 commit 4b2f1abCopy full SHA for 4b2f1ab
README.md
@@ -495,16 +495,16 @@ export default {
495
496
</details>
497
498
-### `emit` Options
+### `emits` Options
499
500
<details>
501
<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.
+❌ <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.
503
</summary>
504
505
```ts
506
defineComponent({
507
- emit: {
+ emits: {
508
// has no effects
509
submit: (eventOption) => {
510
if (...) {
0 commit comments