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.