Skip to content

Commit 697f799

Browse files
atlcwellwelwel
andauthored
chore: fix typo from "paramaters" to "parameters" (#2220)
* Correcting typo from "paramaters" to "parameters" * chore: fix typo from "paramaters" to "parameters" --------- Co-authored-by: wellwelwel <[email protected]>
1 parent a1fd971 commit 697f799

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

promise.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ export * from './index.js';
1818

1919
// Expose class interfaces
2020
declare class QueryableAndExecutableBase extends QueryableBaseClass(
21-
ExecutableBaseClass(EventEmitter)
21+
ExecutableBaseClass(EventEmitter),
2222
) {}
2323

2424
export interface PreparedStatementInfo {
2525
close(): Promise<void>;
2626
execute(
27-
paramaters: any | any[] | { [param: string]: any }
27+
parameters: any | any[] | { [param: string]: any },
2828
): Promise<
2929
[
3030
(
@@ -34,7 +34,7 @@ export interface PreparedStatementInfo {
3434
| OkPacket[]
3535
| ResultSetHeader
3636
),
37-
FieldPacket[]
37+
FieldPacket[],
3838
]
3939
>;
4040
}
@@ -122,7 +122,7 @@ export interface PoolCluster extends EventEmitter {
122122

123123
export function createConnection(connectionUri: string): Promise<Connection>;
124124
export function createConnection(
125-
config: ConnectionOptions
125+
config: ConnectionOptions,
126126
): Promise<Connection>;
127127

128128
export function createPool(connectionUri: string): Pool;

typings/mysql/lib/protocol/sequences/Prepare.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export class PrepareStatementInfo {
1818
| OkPacket[]
1919
| ResultSetHeader
2020
>(
21-
paramaters: any | any[] | { [param: string]: any },
21+
parameters: any | any[] | { [param: string]: any },
2222
callback?: (err: QueryError | null, result: T, fields: FieldPacket[]) => any
2323
): Query;
2424
}

0 commit comments

Comments
 (0)