adjust typeCast type in MySqlConnectionConfig (#20431)

The underlying node-mysql package supports a function as typeCast value (alternative to a boolean), thus its type has been set to any in the respective types package (@types/mysql). https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/mysql/index.d.ts#L217
This commit is contained in:
Neonit
2017-10-23 12:13:32 -07:00
committed by Sheetal Nandi
parent 03b389dc02
commit d5844afa20
+1 -1
View File
@@ -563,7 +563,7 @@ declare namespace Knex {
connectTimeout?: number;
stringifyObjects?: boolean;
insecureAuth?: boolean;
typeCast?: boolean;
typeCast?: any;
queryFormat?: (query: string, values: any) => string;
supportBigNumbers?: boolean;
bigNumberStrings?: boolean;