From b11d95d4336819d9f36703248bd87b6772e30ee1 Mon Sep 17 00:00:00 2001 From: Adam Zerella Date: Thu, 7 Mar 2019 13:58:48 +1100 Subject: [PATCH] Update index.d.ts --- types/is-date-object/index.d.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/types/is-date-object/index.d.ts b/types/is-date-object/index.d.ts index 3ad24b15af..52b2f3ac84 100644 --- a/types/is-date-object/index.d.ts +++ b/types/is-date-object/index.d.ts @@ -4,10 +4,7 @@ // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 3.3 -type InvalidTypes = undefined | null | boolean | string | number | [] | {}; - declare function isDateObject(value: Date): true; -declare function isDateObject(value: InvalidTypes | unknown): boolean; declare function isDateObject(value?: object): boolean; declare function isDateObject(value?: null | undefined | boolean | string | number | symbol | bigint | Array | Function): false;