Skip to content

Commit cee2f11

Browse files
authored
Merge pull request #370 from dbergey/patch-1
Update stream-node.d.ts to fix function name, fixes #369
2 parents 14b014a + 7871a51 commit cee2f11

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/fifty-fireants-kiss.md

+5
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

+1-1
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)