diff --git a/fabric-client/types/index.d.ts b/fabric-client/types/index.d.ts index 8e8407e03b..7707ef0f23 100644 --- a/fabric-client/types/index.d.ts +++ b/fabric-client/types/index.d.ts @@ -343,7 +343,7 @@ declare namespace Client { } export interface ChaincodeInstantiateUpgradeRequest { - targets?: Peer[]; + targets?: Peer[] | string[]; chaincodeType?: ChaincodeType; chaincodeId: string; chaincodeVersion: string; @@ -355,7 +355,7 @@ declare namespace Client { } export interface ChaincodeInvokeRequest { - targets?: Peer[]; + targets?: Peer[] | string[]; chaincodeId: string; txId: TransactionId; transientMap?: any; @@ -366,7 +366,7 @@ declare namespace Client { } export interface ChaincodeQueryRequest { - targets?: Peer[]; + targets?: Peer[] | string[]; chaincodeId: string; transientMap?: any; fcn?: string;