feat: add nocolor stack
Signed-off-by: MiaoWoo <admin@yumc.pw>
This commit is contained in:
parent
d888d9ab4e
commit
ac2a4f3d6e
@ -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