feat: add nocolor stack

Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
MiaoWoo 2020-06-02 18:02:49 +08:00
parent d888d9ab4e
commit ac2a4f3d6e

View File

@ -67,7 +67,7 @@ declare global {
} }
interface Console { interface Console {
ex(err: Error): void; ex(err: Error): void;
stack(err: Error): string[]; stack(err: Error, color?: boolean): string[];
sender(...args: any): void; sender(...args: any): void;
console(...args: any): void; console(...args: any): void;
i18n(name: string, ...params: any[]): void; i18n(name: string, ...params: any[]): void;