Update Fix
This commit is contained in:
5
node_modules/mysql2/promise.d.ts
generated
vendored
5
node_modules/mysql2/promise.d.ts
generated
vendored
@@ -65,6 +65,8 @@ export interface Connection extends QueryableAndExecutableBase {
|
||||
|
||||
end(options?: any): Promise<void>;
|
||||
|
||||
[Symbol.asyncDispose](): Promise<void>;
|
||||
|
||||
destroy(): void;
|
||||
|
||||
pause(): void;
|
||||
@@ -82,6 +84,7 @@ export interface Connection extends QueryableAndExecutableBase {
|
||||
export interface PoolConnection extends Connection {
|
||||
release(): void;
|
||||
connection: Connection;
|
||||
[Symbol.asyncDispose](): Promise<void>;
|
||||
}
|
||||
|
||||
export interface Pool extends Connection {
|
||||
@@ -112,6 +115,8 @@ export interface PoolCluster extends EventEmitter {
|
||||
|
||||
end(): Promise<void>;
|
||||
|
||||
[Symbol.asyncDispose](): Promise<void>;
|
||||
|
||||
getConnection(): Promise<PoolConnection>;
|
||||
getConnection(group: string): Promise<PoolConnection>;
|
||||
getConnection(group: string, selector: string): Promise<PoolConnection>;
|
||||
|
||||
Reference in New Issue
Block a user