Skip to content

Commit 174a439

Browse files
authored
fix resolveComponent return type error (#917)
1 parent 4b0baab commit 174a439

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/global-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ const AsyncComp = defineAsyncComponent({
242242

243243
Allows resolving a `component` by its name, if it is available in the current application instance.
244244

245-
Returns a `Component` or `undefined` when not found.
245+
Returns a `Component` or the argument `name` when not found.
246246

247247
```js
248248
const app = createApp({})

0 commit comments

Comments
 (0)