From a31e9a4bbfd75cceba04dd147a26d271131a0f40 Mon Sep 17 00:00:00 2001 From: Aaike Van Roekeghem Date: Wed, 12 Oct 2016 16:08:28 +0700 Subject: [PATCH] fix incorrect type ChalkChain conctructor return type is `false` while it should be `boolean` --- chalk/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chalk/index.d.ts b/chalk/index.d.ts index 31ad99b6b4..3651e8077d 100644 --- a/chalk/index.d.ts +++ b/chalk/index.d.ts @@ -14,7 +14,7 @@ declare namespace Chalk { export function hasColor(str: string): boolean; export interface ChalkChain extends ChalkStyle { - (): false; + (): boolean; (...text: string[]): string; }