mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-06 15:57:13 +00:00
Merge pull request #32707 from jamesrusso/master
[sqlanywhere] added void return type to functions which return void to prevent implicit any.
This commit is contained in:
Vendored
+4
-4
@@ -12,16 +12,16 @@ export interface SybaseConnection {
|
||||
close(cb: (err?: Error) => void): void;
|
||||
disconnect(cb: (err?: Error) => void): void;
|
||||
connected(): boolean;
|
||||
exec(query: string, cb: (err: Error | undefined, result: any) => void);
|
||||
exec(query: string, cb: (err: Error | undefined, result: any) => void): void;
|
||||
exec(
|
||||
query: string,
|
||||
placeholders: any[],
|
||||
cb: (err: Error | undefined, result: any) => void
|
||||
);
|
||||
): void;
|
||||
prepare(
|
||||
query: string,
|
||||
cb: (err: Error | undefined, stmt: Statement) => void
|
||||
);
|
||||
): void;
|
||||
prepare(query: string): Statement;
|
||||
commit(cb: (err: Error | undefined) => void): void;
|
||||
rollback(cb: (err: Error | undefined) => void): void;
|
||||
@@ -37,7 +37,7 @@ export interface ConnectionParameters {
|
||||
}
|
||||
|
||||
export interface Statement {
|
||||
exec(args: any[], cb: (err: Error | undefined, rows: any[]) => void);
|
||||
exec(args: any[], cb: (err: Error | undefined, rows: any[]) => void): void;
|
||||
exec(args: any[]): any[];
|
||||
getMoreResults(): any[];
|
||||
drop(cb: (err: Error | undefined) => void): void;
|
||||
|
||||
Reference in New Issue
Block a user