diff --git a/src/guide/typescript/composition-api.md b/src/guide/typescript/composition-api.md index 4151762576..69e98b67fe 100644 --- a/src/guide/typescript/composition-api.md +++ b/src/guide/typescript/composition-api.md @@ -401,15 +401,14 @@ defineExpose({ ``` -In order to get the instance type of `MyModal`, we need to first get its type via `typeof`, then use Vue's `ComponentPublicInstance` utility to extract its instance type: +In order to get the instance type of `MyModal`, we need to first get its type via `typeof`, then use TypeScript's built-in `InstanceType` utility to extract its instance type: ```vue{5}