Skip to content

Commit a29228d

Browse files
committed
fix: Ensure we generate types for streams
1 parent ae55a6c commit a29228d

File tree

4 files changed

+55
-241
lines changed

4 files changed

+55
-241
lines changed

jsx.d.ts

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,15 @@ interface Options {
1010
skipFalseAttributes?: boolean;
1111
}
1212

13-
export default function render(
13+
export default function renderToStringPretty(
1414
vnode: VNode,
1515
context?: any,
1616
options?: Options
1717
): string;
18+
export function render(vnode: VNode, context?: any, options?: Options): string;
1819

19-
export function shallowRender(vnode: VNode, context?: any): string;
20+
export function shallowRender(
21+
vnode: VNode,
22+
context?: any,
23+
options?: Options
24+
): string;

0 commit comments

Comments
 (0)