Skip to content

Commit 63d65f6

Browse files
authored
fix(types): resolve noImplicitAny issues (#101)
1 parent 05fc61e commit 63d65f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

index.d.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,15 +90,15 @@ declare namespace serverlessMysql {
9090
}
9191

9292
class Transaction {
93-
query(...args): this
93+
query(...args: any[]): this
9494
rollback(fn: Function): this
9595
commit<T = any>(): Promise<T[]>
9696
}
9797

9898
export type ServerlessMysql = {
9999
connect(wait?: number): Promise<void>
100100
config(config?: string | MySQL.ConnectionConfig): MySQL.ConnectionConfig
101-
query<T>(...args): Promise<T>
101+
query<T>(...args: any[]): Promise<T>
102102
end(): Promise<void>
103103
escape: MySQL.EscapeFunctions['escape'],
104104
escapeId: MySQL.EscapeFunctions['escapeId'],

0 commit comments

Comments
 (0)