From 6f555cf98cde717e6ebe710dbd59721279182fb7 Mon Sep 17 00:00:00 2001 From: ShroXd Date: Thu, 2 Sep 2021 04:41:08 +0800 Subject: [PATCH] refactor(runtime-core): improve the type of defineAsyncComponent (#4441) --- packages/runtime-core/src/apiAsyncComponent.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/runtime-core/src/apiAsyncComponent.ts b/packages/runtime-core/src/apiAsyncComponent.ts index 8cd27b84a4..4dffee344a 100644 --- a/packages/runtime-core/src/apiAsyncComponent.ts +++ b/packages/runtime-core/src/apiAsyncComponent.ts @@ -206,7 +206,7 @@ export function defineAsyncComponent< } } } - }) as any + }) as T } function createInnerComp( -- 2.47.3