Skip to content

Commit 235baf5

Browse files
committed
fix(typing): flow typing in render-context.js
1 parent 7af77da commit 235baf5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/server/render-context.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
import { isUndef } from 'shared/util'
44

55
type RenderState = {
6-
type: 'Element';
6+
type: 'Element' | 'Fragment';
77
rendered: number;
88
total: number;
9-
endTag: string;
109
children: Array<VNode>;
10+
endTag?: string;
1111
} | {
1212
type: 'Component';
1313
prevActive: Component;

0 commit comments

Comments
 (0)