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 73ada5fd17
commit 9888f908e9

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;