@naturalcycles/nodejs-lib 13.11.0 → 13.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -26,6 +26,16 @@ export interface ReadableTyped<T> extends Readable {
|
|
|
26
26
|
}
|
|
27
27
|
export interface WritableTyped<T> extends Writable {
|
|
28
28
|
}
|
|
29
|
+
/**
|
|
30
|
+
* Type alias that indicates that the Readable is not in objectMode,
|
|
31
|
+
* e.g returns a binary stream (like a gzip stream).
|
|
32
|
+
*/
|
|
33
|
+
export type ReadableBinary = Readable;
|
|
34
|
+
/**
|
|
35
|
+
* Type alias that indicates that the Writable is not in objectMode,
|
|
36
|
+
* e.g reads a binary stream (like a gzip stream).
|
|
37
|
+
*/
|
|
38
|
+
export type WritableBinary = Writable;
|
|
29
39
|
export interface TransformTyped<IN, OUT> extends Transform {
|
|
30
40
|
}
|
|
31
41
|
export interface TransformOptions {
|
package/package.json
CHANGED
|
@@ -48,6 +48,17 @@ export interface ReadableTyped<T> extends Readable {
|
|
|
48
48
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
49
49
|
export interface WritableTyped<T> extends Writable {}
|
|
50
50
|
|
|
51
|
+
/**
|
|
52
|
+
* Type alias that indicates that the Readable is not in objectMode,
|
|
53
|
+
* e.g returns a binary stream (like a gzip stream).
|
|
54
|
+
*/
|
|
55
|
+
export type ReadableBinary = Readable
|
|
56
|
+
/**
|
|
57
|
+
* Type alias that indicates that the Writable is not in objectMode,
|
|
58
|
+
* e.g reads a binary stream (like a gzip stream).
|
|
59
|
+
*/
|
|
60
|
+
export type WritableBinary = Writable
|
|
61
|
+
|
|
51
62
|
// eslint-disable-next-line unused-imports/no-unused-vars
|
|
52
63
|
export interface TransformTyped<IN, OUT> extends Transform {}
|
|
53
64
|
|