Skip to content

Commit 7464901

Browse files
committed
add ts-expect-error
1 parent e031fe8 commit 7464901

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

packages/start/src/server/handler.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ export function createBaseHandler(
115115
// using TransformStream in dev can cause solid-start-dev-server to crash
116116
// when stream is cancelled
117117
// send fast node streams (for now this is only available in nodejs)
118+
// @ts-expect-error
118119
if (e.runtime?.name === "node") return new FastResponse(stream);
119120

120121
// returning stream directly breaks cloudflare workers

0 commit comments

Comments
 (0)