From 84d54cedba2eab3581d166c2ae2eaaa871ca8105 Mon Sep 17 00:00:00 2001 From: Niklas Mollenhauer Date: Thu, 5 Mar 2015 23:03:57 +0100 Subject: [PATCH] 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. --- byline/byline.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/byline/byline.d.ts b/byline/byline.d.ts index 6dac6ad50b..475386b28c 100644 --- a/byline/byline.d.ts +++ b/byline/byline.d.ts @@ -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; -} \ No newline at end of file +}