Skip to content

Commit

Permalink
fix(types): improve the type of createElementBlock (#4406)
Browse files Browse the repository at this point in the history
fix #4391
  • Loading branch information
HcySunYang committed Aug 23, 2021
1 parent f1fa30a commit ebd0bac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/runtime-core/src/vnode.ts
Expand Up @@ -286,7 +286,7 @@ function setupBlock(vnode: VNode) {
* @private
*/
export function createElementBlock(
type: string,
type: string | typeof Fragment,
props?: Record<string, any> | null,
children?: any,
patchFlag?: number,
Expand Down

0 comments on commit ebd0bac

Please sign in to comment.