We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df2907e commit 98a2f90Copy full SHA for 98a2f90
packages/hash-stream-node/src/fileStreamHasher.ts
@@ -34,6 +34,4 @@ export const fileStreamHasher: StreamHasher<Readable> = (
34
});
35
36
37
-function isReadStream(stream: Readable): stream is ReadStream {
38
- return typeof (stream as ReadStream).path === "string";
39
-}
+const isReadStream = (stream: Readable): stream is ReadStream => typeof (stream as ReadStream).path === "string";
0 commit comments