New type definitions (#1358)

This commit is contained in:
Tomas Della Vedova
2021-03-24 14:50:46 +01:00
committed by delvedor
parent f7edb80df7
commit f138b077e3
12 changed files with 14651 additions and 3192 deletions

2
lib/Transport.d.ts vendored
View File

@ -28,7 +28,7 @@ export type ApiError = errors.ConfigurationError | errors.ConnectionError |
errors.NoLivingConnectionsError | errors.ResponseError |
errors.TimeoutError | errors.RequestAbortedError
export type Context = Record<string, unknown> | null
export type Context = unknown
export interface nodeSelectorFn {
(connections: Connection[]): Connection;