Skip to content

Commit ebd0bac

Browse files
authored
fix(types): improve the type of createElementBlock (#4406)
fix #4391
1 parent f1fa30a commit ebd0bac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/runtime-core/src/vnode.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ function setupBlock(vnode: VNode) {
286286
* @private
287287
*/
288288
export function createElementBlock(
289-
type: string,
289+
type: string | typeof Fragment,
290290
props?: Record<string, any> | null,
291291
children?: any,
292292
patchFlag?: number,

0 commit comments

Comments
 (0)