Skip to content

Commit

Permalink
Update types/is-date-object/index.d.ts
Browse files Browse the repository at this point in the history
Co-Authored-By: adamzerella <me@adamzerella.com>
  • Loading branch information
ljharb and adamzerella authored Mar 7, 2019
1 parent 0454d3a commit 2bbab68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion types/is-date-object/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ type InvalidTypes = undefined | null | boolean | string | number | [] | {};

declare function isDateObject(value: Date): true;
declare function isDateObject(value: InvalidTypes | unknown): boolean;
declare function isDateObject(value?: unknown): boolean;
declare function isDateObject(value?: object): boolean;
declare function isDateObject(value?: null | undefined | boolean | string | number | symbol | bigint | Array | Function): false;

export = isDateObject;

0 comments on commit 2bbab68

Please sign in to comment.