]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
docs: fix typo (#11105)
authorMicha Huhn <michahuhn1@gmx.de>
Tue, 11 Jun 2024 06:19:52 +0000 (08:19 +0200)
committerGitHub <noreply@github.com>
Tue, 11 Jun 2024 06:19:52 +0000 (14:19 +0800)
packages/runtime-core/src/apiSetupHelpers.ts

index 486ee637e148ed094e84272e024f60c576d1d199..39d8edbcc2061830dcb130327ac2a143a084f8dc 100644 (file)
@@ -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')