From: Grzegorz Pabian Date: Thu, 5 Jan 2017 15:47:09 +0000 (+0000) Subject: Fixed up invalid typings for LocaleSelector. X-Git-Tag: 2.18.0~36^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=82b6eb651d4cb442a54217dca3d2f2862b5bf106;p=thirdparty%2Fmoment.git Fixed up invalid typings for LocaleSelector. --- diff --git a/moment.d.ts b/moment.d.ts index 2234ea731..b9a621a57 100644 --- a/moment.d.ts +++ b/moment.d.ts @@ -392,7 +392,7 @@ declare namespace moment { type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined type DurationInputArg1 = Duration | number | string | FromTo | DurationInputObject | void; // null | undefined type DurationInputArg2 = unitOfTime.DurationConstructor; - type LocaleSpecifier = string | Moment | Duration | string[]; + type LocaleSpecifier = string | Moment | Duration | string[] | boolean; interface MomentCreationData { input: string;