Merge pull request #4581 from Carreau/patch-1

[moment]: relativeTimeThreshold can be a getter fix signature.
This commit is contained in:
Masahiro Wakame
2015-06-14 16:53:06 +09:00
+2 -1
View File
@@ -465,7 +465,8 @@ declare module moment {
max(moments: Moment[]): Moment;
normalizeUnits(unit: string): string;
relativeTimeThreshold(threshold: string, limit: number): void;
relativeTimeThreshold(threshold: string): number|boolean;
relativeTimeThreshold(threshold: string, limit:number): boolean;
/**
* Constant used to enable explicit ISO_8601 format parsing.