From 779fdbf9df34fe3b18802f4baeb844a3f2a6269b Mon Sep 17 00:00:00 2001 From: Ihor Levchenko Date: Tue, 19 Nov 2019 00:12:41 +0200 Subject: [PATCH] Fixed `size` type (#40318) Amended type of `size` field from `string` to `number` --- types/ftp/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/ftp/index.d.ts b/types/ftp/index.d.ts index 07d3ebc45a..9aa88ef130 100644 --- a/types/ftp/index.d.ts +++ b/types/ftp/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for ftp 0.3.8 +// Type definitions for ftp 0.3.9 // Project: https://github.com/mscdex/node-ftp // Definitions by: Rogier Schouten // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped @@ -70,7 +70,7 @@ declare namespace Client { /** * The size of the entry in bytes */ - size: string; + size: number; /** * The last modified date of the entry */