From e7eef22dcb697dd1ee9b465dd0d7f8f409d6a6d2 Mon Sep 17 00:00:00 2001 From: Justin Sprigg Date: Thu, 31 May 2018 13:02:16 +1000 Subject: [PATCH] Simplify array type --- types/mysql/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/mysql/index.d.ts b/types/mysql/index.d.ts index 3be47cd100..d98fe17ec5 100644 --- a/types/mysql/index.d.ts +++ b/types/mysql/index.d.ts @@ -400,7 +400,7 @@ export interface ConnectionConfig extends ConnectionOptions { * Force date types (TIMESTAMP, DATETIME, DATE) to be returned as strings rather then inflated into JavaScript * Date objects. Can be true/false or an array of type names to keep as strings. (Default: false) */ - dateStrings?: boolean | (('TIMESTAMP' | 'DATETIME' | 'DATE')[]);; + dateStrings?: boolean | Array<'TIMESTAMP' | 'DATETIME' | 'DATE'>; /** * This will print all incoming and outgoing packets on stdout.