Skip to content

Commit

Permalink
fix: add missing types signatures (#18)
Browse files Browse the repository at this point in the history
  • Loading branch information
dividead authored Mar 17, 2023
1 parent 2975cd5 commit 5905e60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/typings/dateTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ export interface DateTime extends Object {
from: (formaInput: DateTimeInput) => string;
isSame: (input?: DateTimeInput, granularity?: DurationUnit) => boolean;
isBefore: (input?: DateTimeInput) => boolean;
isAfter: (input?: DateTimeInput) => boolean;
isValid: () => boolean;
local: () => DateTime;
locale: (locale: string) => DateTime;
Expand All @@ -61,7 +62,7 @@ export interface DateTime extends Object {
valueOf: () => number;
unix: () => number;
utc: () => DateTime;
utcOffset: () => number;
utcOffset: (offset?: number, keepLocalTime?: boolean) => DateTime;
daysInMonth: () => number;
date(): number;
date(value: number): DateTime;
Expand Down

0 comments on commit 5905e60

Please sign in to comment.