feat: add nocolor stack

Signed-off-by: MiaoWoo <admin@yumc.pw>
clean
MiaoWoo 2020-06-02 18:02:49 +08:00
parent 73ada5fd17
commit 9888f908e9
1 changed files with 1 additions and 1 deletions

View File

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