Phentom 3 лет назад
Родитель
Сommit
f0691e4581
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      packages/runtime-core/src/apiSetupHelpers.ts

+ 1 - 1
packages/runtime-core/src/apiSetupHelpers.ts

@@ -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')