Skip to content

fix: add type ReadableStream to supported file stream#22

Open
alvinsw wants to merge 1 commit intomainfrom
fix/allow-sending-ReadableStream-type
Open

fix: add type ReadableStream to supported file stream#22
alvinsw wants to merge 1 commit intomainfrom
fix/allow-sending-ReadableStream-type

Conversation

@alvinsw
Copy link
Copy Markdown
Member

@alvinsw alvinsw commented May 8, 2026

Fastify already support sending the ReadableStream (from the standard Web Streams API) as response. This fix just added the type to the FileStreamResult.

@alvinsw alvinsw requested a review from johnf May 8, 2026 04:08
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 8, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 100% (🎯 100%) 301 / 301
🔵 Statements 100% (🎯 100%) 312 / 312
🔵 Functions 100% (🎯 100%) 48 / 48
🔵 Branches 100% (🎯 100%) 148 / 148
File CoverageNo changed files found.
Generated in workflow #76 for commit 32a2274 by the Vitest Coverage Report Action

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant