Merge pull request #6268 from cprecioso/patch-2

[moment] Accept MomentInput for moment().set()
This commit is contained in:
Horiuchi_H 2015-10-14 10:47:08 +09:00
commit 06b1fc9d8a

View File

@ -303,6 +303,7 @@ declare module moment {
get(unit: string): number;
set(unit: string, value: number): Moment;
set(objectLiteral: MomentInput): Moment;
}
type formatFunction = () => string;