Skip to content

Commit

Permalink
[FAB-16527] Fix logger typescript definitions
Browse files Browse the repository at this point in the history
Change-Id: I29ceedd1ad5a6b21c7568bc01be3ba6b2749b0f3
Signed-off-by: James Taylor <jamest@uk.ibm.com>
  • Loading branch information
jt-nti committed Oct 14, 2019
1 parent 2ccc9db commit a00dd75
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libraries/fabric-shim/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit a00dd75

Please sign in to comment.