From 2bbab68802af8be26a4f268f25764bc7f7c80c32 Mon Sep 17 00:00:00 2001 From: Jordan Harband Date: Thu, 7 Mar 2019 13:57:30 +1100 Subject: [PATCH] Update types/is-date-object/index.d.ts Co-Authored-By: adamzerella --- types/is-date-object/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/types/is-date-object/index.d.ts b/types/is-date-object/index.d.ts index 55865a2a2e..3ad24b15af 100644 --- a/types/is-date-object/index.d.ts +++ b/types/is-date-object/index.d.ts @@ -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;