Skip to content

Commit 6f555cf

Browse files
authored
refactor(runtime-core): improve the type of defineAsyncComponent (#4441)
1 parent b49f446 commit 6f555cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/apiAsyncComponent.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ export function defineAsyncComponent<
206206
}
207207
}
208208
}
209-
}) as any
209+
}) as T
210210
}
211211

212212
function createInnerComp(

0 commit comments

Comments
 (0)