refactor(runtime-core): improve the type of defineAsyncComponent (#4441)

This commit is contained in:
ShroXd 2021-09-02 04:41:08 +08:00 committed by GitHub
parent b49f446ad0
commit 6f555cf98c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -206,7 +206,7 @@ export function defineAsyncComponent<
}
}
}
}) as any
}) as T
}
function createInnerComp(