From: blahDL Date: Tue, 19 Dec 2017 04:23:14 +0000 (+1000) Subject: [misc] Add optional parameter keepOffset to toISOString (#4357) X-Git-Tag: 2.20.1~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0c7f419ee29bdc7ec1f7a6725e214161eb04368e;p=thirdparty%2Fmoment.git [misc] Add optional parameter keepOffset to toISOString (#4357) Update the typescript definition file to include the optional parameter keepOffset which was introduced in 2.20.0 --- diff --git a/moment.d.ts b/moment.d.ts index cdca9da0f..0e7493360 100644 --- a/moment.d.ts +++ b/moment.d.ts @@ -542,7 +542,7 @@ declare namespace moment { toArray(): number[]; toDate(): Date; - toISOString(): string; + toISOString(keepOffset?: boolean): string; inspect(): string; toJSON(): string; unix(): number;