Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7871a51

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

File tree

2 files changed

+6
-1
lines changed
Filter options

2 files changed

+6
-1
lines changed

‎.changeset/fifty-fireants-kiss.md

Copy file name to clipboard
+5Lines 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

Copy file name to clipboardExpand all lines: src/stream-node.d.ts
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.