]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: typo (#8345) [ci skip]
authorPhentom <phentom.net@gmail.com>
Thu, 18 May 2023 23:59:09 +0000 (00:59 +0100)
committerGitHub <noreply@github.com>
Thu, 18 May 2023 23:59:09 +0000 (07:59 +0800)
packages/runtime-core/src/apiSetupHelpers.ts

index 76ad08cf63ac0996cc3f30f99931971ffe575907..c00937981d915003c0c9e7e7e02c1d1a5cd0c402 100644 (file)
@@ -236,7 +236,7 @@ export function defineSlots<
  * modelValue.value = "hello"
  *
  * // default model with options
- * const modelValue = defineModel<stirng>({ required: true })
+ * const modelValue = defineModel<string>({ required: true })
  *
  * // with specified name (consumed via `v-model:count`)
  * const count = defineModel<number>('count')