mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 04:50:18 +00:00
Update types/is-date-object/index.d.ts
Co-Authored-By: adamzerella <me@adamzerella.com>
This commit is contained in:
co-authored by
adamzerella
parent
0454d3a6a6
commit
2bbab68802
Vendored
+2
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user