From: Sokolov Stanislav Date: Fri, 13 May 2016 14:18:39 +0000 (+0500) Subject: Added missing functions to moment.d.ts X-Git-Tag: 2.14.0~23^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=81bc463ae229233ea1ed025caf9b617fb39d554d;p=thirdparty%2Fmoment.git Added missing functions to moment.d.ts Added missing isSameOrAfter and isSameOrBefore functions to typings --- diff --git a/moment.d.ts b/moment.d.ts index 0df6176e2..52f139554 100644 --- a/moment.d.ts +++ b/moment.d.ts @@ -381,6 +381,9 @@ declare namespace moment { isAfter(b: Moment | string | number | Date | number[], granularity?: string): boolean; isSame(b: Moment | string | number | Date | number[], granularity?: string): boolean; + isSameOrAfter(b: Moment | string | number | Date | number[], granularity?: string): boolean; + isSameOrBefore(b: Moment | string | number | Date | number[], granularity?: string): boolean; + isBetween(a: Moment | string | number | Date | number[], b: Moment | string | number | Date | number[], granularity?: string, inclusivity?: string): boolean; // Deprecated as of 2.8.0.