Add toNow() definition to Moment to resolve issue #6062

This commit is contained in:
Ross Peoples committed 2015-10-02 09:48:50 -05:00
1 parent 98d3168c2c
commit 257df550d0
1 file changed
+1
+1
View File
@@ -246,6 +246,7 @@ declare module moment {
from(f: Moment|string|number|Date|number[], suffix?: boolean): string;
to(f: Moment|string|number|Date|number[], suffix?: boolean): string;
toNow(withoutPrefix?: boolean): string;
diff(b: Moment): number;
diff(b: Moment, unitOfTime: string): number;