瀏覽代碼

chore: typo (#8345) [ci skip]

Phentom 2 年之前
父節點
當前提交
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')