File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
packages/util-stream-browser/src Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -64,11 +64,7 @@ export const sdkStreamMixin = (stream: unknown): SdkStream<ReadableStream | Blob
64
64
if ( isBlobInstance ( stream ) ) {
65
65
// ReadableStream is undefined in React Native
66
66
return blobToWebStream ( stream ) ;
67
- < < < << << HEAD
68
67
} else if ( isReadableStreamInstance ( stream ) ) {
69
- = === ===
70
- } else if ( isReadableStreamIntance ( stream ) ) {
71
- > >>> >>> a214cc92ce ( feat ( types ) : add sdk stream mixin injector type )
72
68
return stream ;
73
69
} else {
74
70
throw new Error ( `Cannot transform payload to web stream, got ${ stream } ` ) ;
@@ -79,9 +75,5 @@ export const sdkStreamMixin = (stream: unknown): SdkStream<ReadableStream | Blob
79
75
80
76
const isBlobInstance = ( stream : unknown ) : stream is Blob => typeof Blob === "function" && stream instanceof Blob ;
81
77
82
- < < < << << HEAD
83
78
const isReadableStreamInstance = ( stream : unknown ) : stream is ReadableStream =>
84
- === === =
85
- const isReadableStreamIntance = ( stream : unknown ) : stream is ReadableStream =>
86
- >>> >>> > a214cc92ce ( feat ( types ) : add sdk stream mixin injector type )
87
79
typeof ReadableStream === "function" && stream instanceof ReadableStream ;
You can’t perform that action at this time.
0 commit comments