diff --git a/fabric-client/lib/Client.js b/fabric-client/lib/Client.js index b2afbcfa65..82ad8c8582 100644 --- a/fabric-client/lib/Client.js +++ b/fabric-client/lib/Client.js @@ -351,7 +351,7 @@ const Client = class extends BaseClient { * @typedef {Object} ConnectionOpts * @property {string} name - Optional. To gives this remote endpoint a name. * The endpoint will be known by its URL if no name is provided. - * @property {string} request-timeout - An integer value in milliseconds to + * @property {number} request-timeout - An integer value in milliseconds to * be used as maximum amount of time to wait on the request to respond. * @property {string} pem - The certificate file, in PEM format, * to use with the gRPC protocol (that is, with TransportCredentials). diff --git a/fabric-client/types/index.d.ts b/fabric-client/types/index.d.ts index 4508427cbf..c7d24886ac 100644 --- a/fabric-client/types/index.d.ts +++ b/fabric-client/types/index.d.ts @@ -126,7 +126,7 @@ declare namespace Client { // tslint:disable-line:no-namespace pem?: string; clientKey?: string; clientCert?: string; - 'request-timeout'?: string; + 'request-timeout'?: number; 'ssl-target-name-override'?: string; [propName: string]: any; }