From e553601092f0bf0722139a9dd0ba98ea1e484084 Mon Sep 17 00:00:00 2001 From: Stephen Remde Date: Tue, 7 Jul 2015 13:19:10 +0100 Subject: [PATCH] added missing 'bytesWritten' field to fs.WriteStream --- node/node-0.10.d.ts | 1 + node/node.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/node/node-0.10.d.ts b/node/node-0.10.d.ts index 5c095596c4..2f3824462d 100644 --- a/node/node-0.10.d.ts +++ b/node/node-0.10.d.ts @@ -910,6 +910,7 @@ declare module "fs" { } export interface WriteStream extends stream.Writable { close(): void; + bytesWritten: number; } export function rename(oldPath: string, newPath: string, callback?: (err?: NodeJS.ErrnoException) => void): void; diff --git a/node/node.d.ts b/node/node.d.ts index 2865aedd4e..fa3881e83b 100644 --- a/node/node.d.ts +++ b/node/node.d.ts @@ -1054,6 +1054,7 @@ declare module "fs" { } export interface WriteStream extends stream.Writable { close(): void; + bytesWritten: number; } /**