Skip to content

Commit

Permalink
Merge pull request #370 from dbergey/patch-1
Browse files Browse the repository at this point in the history
Update stream-node.d.ts to fix function name, fixes #369
  • Loading branch information
rschristian committed Jun 3, 2024
2 parents 14b014a + 7871a51 commit cee2f11
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 cee2f11

Please sign in to comment.