Skip to content

Commit

Permalink
Update stream-node.d.ts to fix function name
Browse files Browse the repository at this point in the history
  • Loading branch information
dbergey committed Jun 3, 2024
1 parent 14b014a commit 7871a51
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fifty-fireants-kiss.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'preact-render-to-string': patch
---

Fix incorrect type for renderToPipeableStream
2 changes: 1 addition & 1 deletion src/stream-node.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ interface PipeableStream {
pipe: (writable: WritableStream) => void;
}

export function renderToReadableStream(
export function renderToPipeableStream(
vnode: VNode,
options: RenderToPipeableStreamOptions,
context?: any
Expand Down

0 comments on commit 7871a51

Please sign in to comment.