diff --git a/src/guide/typescript/composition-api.md b/src/guide/typescript/composition-api.md index c0f1443cf9..f4c2f0ff2c 100644 --- a/src/guide/typescript/composition-api.md +++ b/src/guide/typescript/composition-api.md @@ -162,7 +162,7 @@ year.value = '2020' Sometimes we may need to specify complex types for a ref's inner value. We can do that by using the `Ref` type: ```ts -import { ref, Ref } from 'vue' +import { ref, type Ref } from 'vue' const year: Ref = ref('2020')