Skip to content

Commit

Permalink
Added isValid() method to moment.js duration class (flow-typed#1268)
Browse files Browse the repository at this point in the history
  • Loading branch information
mjomble authored and marudor committed Sep 22, 2017
1 parent 2cf075b commit 148333b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ declare class moment$MomentDuration {
get(unit: string): number;
toJSON(): string;
toISOString(): string;
isValid(): bool;
}
declare class moment$Moment {
static ISO_8601: string;
Expand Down

0 comments on commit 148333b

Please sign in to comment.