diff --git a/promise.d.ts b/promise.d.ts index 09d65eb6ed..e9f3e08a1d 100644 --- a/promise.d.ts +++ b/promise.d.ts @@ -18,13 +18,13 @@ export * from './index.js'; // Expose class interfaces declare class QueryableAndExecutableBase extends QueryableBaseClass( - ExecutableBaseClass(EventEmitter) + ExecutableBaseClass(EventEmitter), ) {} export interface PreparedStatementInfo { close(): Promise; execute( - paramaters: any | any[] | { [param: string]: any } + parameters: any | any[] | { [param: string]: any }, ): Promise< [ ( @@ -34,7 +34,7 @@ export interface PreparedStatementInfo { | OkPacket[] | ResultSetHeader ), - FieldPacket[] + FieldPacket[], ] >; } @@ -122,7 +122,7 @@ export interface PoolCluster extends EventEmitter { export function createConnection(connectionUri: string): Promise; export function createConnection( - config: ConnectionOptions + config: ConnectionOptions, ): Promise; export function createPool(connectionUri: string): Pool; diff --git a/typings/mysql/lib/protocol/sequences/Prepare.d.ts b/typings/mysql/lib/protocol/sequences/Prepare.d.ts index 95a6603c9b..ef13801611 100644 --- a/typings/mysql/lib/protocol/sequences/Prepare.d.ts +++ b/typings/mysql/lib/protocol/sequences/Prepare.d.ts @@ -18,7 +18,7 @@ export class PrepareStatementInfo { | OkPacket[] | ResultSetHeader >( - paramaters: any | any[] | { [param: string]: any }, + parameters: any | any[] | { [param: string]: any }, callback?: (err: QueryError | null, result: T, fields: FieldPacket[]) => any ): Query; }