Update Fix
This commit is contained in:
5
node_modules/mysql2/typings/mysql/lib/Connection.d.ts
generated
vendored
5
node_modules/mysql2/typings/mysql/lib/Connection.d.ts
generated
vendored
@@ -5,6 +5,7 @@
|
||||
|
||||
import { EventEmitter } from 'events';
|
||||
import { Readable } from 'stream';
|
||||
import { Timezone } from 'sql-escaper';
|
||||
import { Query, QueryError } from './protocol/sequences/Query.js';
|
||||
import { Prepare, PrepareStatementInfo } from './protocol/sequences/Prepare.js';
|
||||
import {
|
||||
@@ -150,7 +151,7 @@ export interface ConnectionOptions {
|
||||
/**
|
||||
* The timezone used to store local dates. (Default: 'local')
|
||||
*/
|
||||
timezone?: string | 'local';
|
||||
timezone?: Timezone;
|
||||
|
||||
/**
|
||||
* The milliseconds before a timeout occurs during the initial connection to the MySQL server. (Default: 10 seconds)
|
||||
@@ -393,6 +394,8 @@ declare class Connection extends QueryableBase(ExecutableBase(EventEmitter)) {
|
||||
end(callback?: (err: QueryError | null) => void): void;
|
||||
end(options: any, callback?: (err: QueryError | null) => void): void;
|
||||
|
||||
[Symbol.dispose](): void;
|
||||
|
||||
destroy(): void;
|
||||
|
||||
pause(): void;
|
||||
|
||||
Reference in New Issue
Block a user