mirror of
https://github.com/lingble/clickhouse.git
synced 2025-12-24 06:27:05 +00:00
fixes in typings for TS
This commit is contained in:
4
index.d.ts
vendored
4
index.d.ts
vendored
@@ -12,13 +12,13 @@ declare module 'clickhouse' {
|
||||
sessionId: string;
|
||||
}
|
||||
|
||||
export class WriteStream extends stream.Transform {
|
||||
export class WriteStream extends Stream.Transform {
|
||||
writeRow(data: Array<any>);
|
||||
exec();
|
||||
}
|
||||
|
||||
class QueryCursor {
|
||||
async toPromise(): Promise<Object[]>;
|
||||
toPromise(): Promise<Object[]>;
|
||||
exec(callback: callbackExec);
|
||||
stream(): Stream | WriteStream;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user