Skip to content

Commit

Permalink
fix: Ensure we generate types for streams
Browse files Browse the repository at this point in the history
  • Loading branch information
rschristian committed May 26, 2024
1 parent ae55a6c commit a29228d
Show file tree
Hide file tree
Showing 4 changed files with 55 additions and 241 deletions.
9 changes: 7 additions & 2 deletions jsx.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ interface Options {
skipFalseAttributes?: boolean;
}

export default function render(
export default function renderToStringPretty(
vnode: VNode,
context?: any,
options?: Options
): string;
export function render(vnode: VNode, context?: any, options?: Options): string;

export function shallowRender(vnode: VNode, context?: any): string;
export function shallowRender(
vnode: VNode,
context?: any,
options?: Options
): string;
Loading

0 comments on commit a29228d

Please sign in to comment.