diff --git a/src/stream-node.d.ts b/src/stream-node.d.ts index 5cdc0e5..41854ae 100644 --- a/src/stream-node.d.ts +++ b/src/stream-node.d.ts @@ -12,8 +12,8 @@ interface PipeableStream { pipe: (writable: WritableStream) => void; } -export function renderToPipeableStream( - vnode: VNode, +export function renderToPipeableStream

( + vnode: VNode

, options: RenderToPipeableStreamOptions, context?: any ): PipeableStream; diff --git a/src/stream.d.ts b/src/stream.d.ts index c786d96..1ab9aa5 100644 --- a/src/stream.d.ts +++ b/src/stream.d.ts @@ -4,7 +4,7 @@ interface RenderStream extends ReadableStream { allReady: Promise; } -export function renderToReadableStream( - vnode: VNode, +export function renderToReadableStream

( + vnode: VNode

, context?: any ): RenderStream;