Simplify array type

This commit is contained in:
Justin Sprigg
2018-05-31 13:02:16 +10:00
committed by GitHub
parent 5275b58e57
commit e7eef22dcb
+1 -1
View File
@@ -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.