From a00dd7574d01ec728432d5f422815d3db8dd508a Mon Sep 17 00:00:00 2001 From: James Taylor Date: Mon, 14 Oct 2019 16:06:25 +0100 Subject: [PATCH] [FAB-16527] Fix logger typescript definitions Change-Id: I29ceedd1ad5a6b21c7568bc01be3ba6b2749b0f3 Signed-off-by: James Taylor --- libraries/fabric-shim/types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/fabric-shim/types/index.d.ts b/libraries/fabric-shim/types/index.d.ts index 6cbcf1ae..cbf3cacb 100644 --- a/libraries/fabric-shim/types/index.d.ts +++ b/libraries/fabric-shim/types/index.d.ts @@ -36,13 +36,13 @@ declare module 'fabric-shim' { } export function error(msg: Uint8Array): ChaincodeResponse; - export function newLogger(name: string): LoggerInstance; + export function newLogger(name: string): Logger; export function start(chaincode: ChaincodeInterface): any; export function success(payload?: Uint8Array): ChaincodeResponse; export class Shim { static error(msg: Uint8Array): ChaincodeResponse; - static newLogger(name: string): LoggerInstance; + static newLogger(name: string): Logger; static start(chaincode: ChaincodeInterface): any; static success(payload?: Uint8Array): ChaincodeResponse; }