Skip to content

Commit

Permalink
docs: fix typo (vuejs#11105)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaHuhn authored Jun 11, 2024
1 parent df686ab commit 70773d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/apiSetupHelpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ type BooleanKey<T, K extends keyof T = keyof T> = K extends any
* const emit = defineEmits<{
* // <eventName>: <expected arguments>
* change: []
* update: [value: string] // named tuple syntax
* update: [value: number] // named tuple syntax
* }>()
*
* emit('change')
Expand Down

0 comments on commit 70773d0

Please sign in to comment.