mirror of
https://github.com/lingble/clickhouse.git
synced 2025-11-03 04:27:47 +00:00
fixed writeRow type
This commit is contained in:
2
index.d.ts
vendored
2
index.d.ts
vendored
@@ -13,7 +13,7 @@ declare module 'clickhouse' {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export class WriteStream extends Stream.Transform {
|
export class WriteStream extends Stream.Transform {
|
||||||
writeRow(data: Array<any>): Promise<void>;
|
writeRow(data: Array<any> | string): Promise<void>;
|
||||||
exec(): Promise<{}>;
|
exec(): Promise<{}>;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user