mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
Merge pull request #3806 from nikeee/patch-1
Made keepEmptyLines optional
This commit is contained in:
commit
fc60af0917
1 file changed
+2
-2
Vendored
+2
-2
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user