@types/mysql
Advanced tools
Comparing version 2.15.12 to 2.15.13
@@ -13,4 +13,4 @@ // Type definitions for mysql 2.15 | ||
import stream = require("stream"); | ||
import tls = require("tls"); | ||
import stream = require('stream'); | ||
import tls = require('tls'); | ||
@@ -126,4 +126,4 @@ export interface EscapeFunctions { | ||
*/ | ||
end(callback?: (err: MysqlError, ...args: any[]) => void): void; | ||
end(options: any, callback: (err: MysqlError, ...args: any[]) => void): void; | ||
end(callback?: (err?: MysqlError) => void): void; | ||
end(options: any, callback: (err?: MysqlError) => void): void; | ||
@@ -196,3 +196,6 @@ /** | ||
acquireConnection(connection: PoolConnection, callback: (err: MysqlError, connection: PoolConnection) => void): void; | ||
acquireConnection( | ||
connection: PoolConnection, | ||
callback: (err: MysqlError, connection: PoolConnection) => void, | ||
): void; | ||
@@ -276,3 +279,7 @@ releaseConnection(connection: PoolConnection): void; | ||
getConnection(pattern: string, selector: string, callback: (err: MysqlError, connection: PoolConnection) => void): void; | ||
getConnection( | ||
pattern: string, | ||
selector: string, | ||
callback: (err: MysqlError, connection: PoolConnection) => void, | ||
): void; | ||
@@ -355,3 +362,3 @@ /** | ||
export interface GeometryType extends Array<{ x: number, y: number } | GeometryType> { | ||
export interface GeometryType extends Array<{ x: number; y: number } | GeometryType> { | ||
x: number; | ||
@@ -361,6 +368,14 @@ y: number; | ||
export type TypeCast = boolean | ( | ||
(field: UntypedFieldInfo | ||
& { type: string, length: number, string(): string, buffer(): Buffer, geometry(): null | GeometryType }, | ||
next: () => void) => any); | ||
export type TypeCast = | ||
| boolean | ||
| (( | ||
field: UntypedFieldInfo & { | ||
type: string; | ||
length: number; | ||
string(): string; | ||
buffer(): Buffer; | ||
geometry(): null | GeometryType; | ||
}, | ||
next: () => void, | ||
) => any); | ||
@@ -367,0 +382,0 @@ export type queryCallback = (err: MysqlError | null, results?: any, fields?: FieldInfo[]) => void; |
{ | ||
"name": "@types/mysql", | ||
"version": "2.15.12", | ||
"version": "2.15.13", | ||
"description": "TypeScript definitions for mysql", | ||
@@ -44,4 +44,4 @@ "license": "MIT", | ||
}, | ||
"typesPublisherContentHash": "9325c9ee605ac19a49c125c36f187016040a93f7e77af2958a489d52c49df6d0", | ||
"typesPublisherContentHash": "02b600d234b50559ed1edebbfcffc0863a839ad7763abd90414f2c6078b3bf81", | ||
"typeScriptVersion": "3.0" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 22 May 2020 03:54:58 GMT | ||
* Last updated: Tue, 26 May 2020 23:19:51 GMT | ||
* Dependencies: [@types/node](https://npmjs.com/package/@types/node) | ||
@@ -14,0 +14,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
27770
629