wapi-client 0.6.7 → 0.6.13

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.
@@ -1,4 +1,5 @@
1
1
  /// <reference types="node" />
2
+ /// <reference types="node" />
2
3
  import { DuplexOptions, PassThrough, Transform, TransformOptions, Writable, Readable, ReadableOptions } from 'stream';
3
4
  /**
4
5
  * @internal
@@ -13,7 +14,7 @@ export declare class WriteStream extends Writable {
13
14
  export declare class ReadWriteStream<InputType> extends PassThrough {
14
15
  constructor();
15
16
  write(chunk: InputType, encoding?: BufferEncoding | ((error: Error | null | undefined) => void), cb?: (error: Error | null | undefined) => void): boolean;
16
- end(chunk?: InputType | (() => void), encoding?: BufferEncoding | (() => void), cb?: () => void): void;
17
+ end(chunk?: InputType | (() => void), encoding?: BufferEncoding | (() => void), cb?: () => void): this;
17
18
  }
18
19
  declare type DataTransformCallback<Output> = (error?: Error | null, data?: Output) => void;
19
20
  interface DataTransformOptions<Input, Output> extends TransformOptions {