Skip to content

Commit

Permalink
[FAB-10636] update fabric-client type definitions
Browse files Browse the repository at this point in the history
this CR update some fabric-client type definitions

Change-Id: Ia226d560540d0a41a5e14b93a770532db2d0f208
Signed-off-by: zhaochy <[email protected]>
  • Loading branch information
zhaochy1990 committed Jun 14, 2018
1 parent 5dc8931 commit f1340c8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fabric-client/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,7 @@ declare namespace Client {
}

export interface ChaincodeInstantiateUpgradeRequest {
targets?: Peer[];
targets?: Peer[] | string[];
chaincodeType?: ChaincodeType;
chaincodeId: string;
chaincodeVersion: string;
Expand All @@ -355,7 +355,7 @@ declare namespace Client {
}

export interface ChaincodeInvokeRequest {
targets?: Peer[];
targets?: Peer[] | string[];
chaincodeId: string;
txId: TransactionId;
transientMap?: any;
Expand All @@ -366,7 +366,7 @@ declare namespace Client {
}

export interface ChaincodeQueryRequest {
targets?: Peer[];
targets?: Peer[] | string[];
chaincodeId: string;
transientMap?: any;
fcn?: string;
Expand Down

0 comments on commit f1340c8

Please sign in to comment.