Skip to content

Commit 7871a51

Browse files
committed
Update stream-node.d.ts to fix function name
1 parent 14b014a commit 7871a51

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/fifty-fireants-kiss.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'preact-render-to-string': patch
3+
---
4+
5+
Fix incorrect type for renderToPipeableStream

src/stream-node.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ interface PipeableStream {
1212
pipe: (writable: WritableStream) => void;
1313
}
1414

15-
export function renderToReadableStream(
15+
export function renderToPipeableStream(
1616
vnode: VNode,
1717
options: RenderToPipeableStreamOptions,
1818
context?: any

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy