mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
Merge pull request #6268 from cprecioso/patch-2
[moment] Accept MomentInput for moment().set()
This commit is contained in:
commit
06b1fc9d8a
1
moment/moment-node.d.ts
vendored
1
moment/moment-node.d.ts
vendored
@ -303,6 +303,7 @@ declare module moment {
|
||||
|
||||
get(unit: string): number;
|
||||
set(unit: string, value: number): Moment;
|
||||
set(objectLiteral: MomentInput): Moment;
|
||||
}
|
||||
|
||||
type formatFunction = () => string;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user