Skip to content

Commit

Permalink
Fixed fabric-samples/asset-transfer-basic/application-gateway-typescr…
Browse files Browse the repository at this point in the history
…ipt grpc lcient type check

Signed-off-by: k3t4ngit <ketantiwari@live.in>
  • Loading branch information
k3t4ngit committed Mar 21, 2023
1 parent 0fe4d09 commit 3ae3727
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
*/

import * as grpc from '@grpc/grpc-js';
import { connect, Contract, Identity, Signer, signers } from '@hyperledger/fabric-gateway';
import { connect, Contract, GrpcClient, Identity, Signer, signers } from '@hyperledger/fabric-gateway';
import * as crypto from 'crypto';
import { promises as fs } from 'fs';
import * as path from 'path';
Expand Down Expand Up @@ -41,7 +41,7 @@ async function main(): Promise<void> {
await displayInputParameters();

// The gRPC client connection should be shared by all Gateway connections to this endpoint.
const client = await newGrpcConnection();
const client = await <GrpcClient> <unknown>newGrpcConnection();

const gateway = connect({
client,
Expand Down

0 comments on commit 3ae3727

Please sign in to comment.