Fix type definition

This commit is contained in:
delvedor
2021-04-19 09:32:32 +02:00
parent d188e24626
commit d2f77e9944

1
api/new.d.ts vendored
View File

@ -67,6 +67,7 @@ declare type extendsCallback = (options: ClientExtendsCallbackOptions) => any;
declare type callbackFn<TResponse, TContext> = (err: ApiError, result: ApiResponse<TResponse, TContext>) => void; declare type callbackFn<TResponse, TContext> = (err: ApiError, result: ApiResponse<TResponse, TContext>) => void;
declare class Client { declare class Client {
constructor(opts: ClientOptions);
connectionPool: ConnectionPool connectionPool: ConnectionPool
transport: Transport transport: Transport
serializer: Serializer serializer: Serializer