mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
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:
Vendored
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user