Skip to content

Commit

Permalink
chore: fix typo from "paramaters" to "parameters" (#2220)
Browse files Browse the repository at this point in the history
* Correcting typo from "paramaters" to "parameters"

* chore: fix typo from "paramaters" to "parameters"

---------

Co-authored-by: wellwelwel <46850407+wellwelwel@users.noreply.github.com>
  • Loading branch information
atlc and wellwelwel authored Oct 7, 2023
1 parent a1fd971 commit 697f799
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions promise.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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<void>;
execute(
paramaters: any | any[] | { [param: string]: any }
parameters: any | any[] | { [param: string]: any },
): Promise<
[
(
Expand All @@ -34,7 +34,7 @@ export interface PreparedStatementInfo {
| OkPacket[]
| ResultSetHeader
),
FieldPacket[]
FieldPacket[],
]
>;
}
Expand Down Expand Up @@ -122,7 +122,7 @@ export interface PoolCluster extends EventEmitter {

export function createConnection(connectionUri: string): Promise<Connection>;
export function createConnection(
config: ConnectionOptions
config: ConnectionOptions,
): Promise<Connection>;

export function createPool(connectionUri: string): Pool;
Expand Down
2 changes: 1 addition & 1 deletion typings/mysql/lib/protocol/sequences/Prepare.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 697f799

Please sign in to comment.