mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-23 01:02:54 +00:00
Made keepEmptyLines optional
If one decides to only use something of `TransformOptions` (e.g. `encoding`), it wouldn't be possible to omit the `keepEmptyLines` option.
This commit is contained in:
parent
69bdfb0884
commit
84d54cedba
4
byline/byline.d.ts
vendored
4
byline/byline.d.ts
vendored
@ -9,7 +9,7 @@ declare module "byline" {
|
||||
import stream = require("stream");
|
||||
|
||||
export interface LineStreamOptions extends stream.TransformOptions {
|
||||
keepEmptyLines: boolean;
|
||||
keepEmptyLines?: boolean;
|
||||
}
|
||||
|
||||
export interface LineStream extends stream.Transform {
|
||||
@ -35,4 +35,4 @@ declare module "byline" {
|
||||
export function createStream(stream:NodeJS.ReadableStream, options?:LineStreamOptions):LineStream;
|
||||
|
||||
export var LineStream:LineStreamCreatable;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user