From 9888f908e9cc6899a6807c5cee8e63dcbb304eb1 Mon Sep 17 00:00:00 2001 From: MiaoWoo Date: Tue, 2 Jun 2020 18:02:49 +0800 Subject: [PATCH] feat: add nocolor stack Signed-off-by: MiaoWoo --- packages/nashorn/src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/nashorn/src/index.ts b/packages/nashorn/src/index.ts index 94b84c98..4485c984 100644 --- a/packages/nashorn/src/index.ts +++ b/packages/nashorn/src/index.ts @@ -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;