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; }