Open cloud-hai-vo opened 5 years ago
Hi @nspragg,
Have type error in our current logger when try to use the console for logger https://github.com/bbc/flashheart/blob/master/src/core/clientParams.ts#L20
console
interface LogMethod { (message: string, callback: LogCallback): Logger; (message: string, meta: any, callback: LogCallback): Logger; (message: string, ...meta: any[]): Logger; (infoObject: object): Logger; }
Do I need to do have custom class to implement the Logger interface?
@cloud-hai-vo - is this still have issue for you?
I do a workaround for it. In typescript still get the error with compiler
Hi @nspragg,
Have type error in our current logger when try to use the
console
for logger https://github.com/bbc/flashheart/blob/master/src/core/clientParams.ts#L20Do I need to do have custom class to implement the Logger interface?