mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
[moment]: relativeTimeThreshold can be a getter fix signature.
This commit is contained in:
parent
8ebc099072
commit
4e5e52edca
3
moment/moment-node.d.ts
vendored
3
moment/moment-node.d.ts
vendored
@ -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.
|
||||
|
||||
Loading…
Reference in New Issue
Block a user