feat: add nocolor stack
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
parent
73ada5fd17
commit
9888f908e9
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user