From 3f9e501465ada66fd8123a7bca1f5e0bd58fdb9e Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Wed, 26 Dec 2018 13:53:47 +0800 Subject: [PATCH] Update types/index.d.ts basic, no arg form Co-Authored-By: vanbujm --- types/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/index.d.ts b/types/index.d.ts index 8a7fd09..08f9b13 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -26,7 +26,7 @@ export interface ColorSupport { } export interface Chalk { - (...text: string[]): string; + (...text: unknown[]): string; (text: TemplateStringsArray, ...placeholders: unknown[]): string; constructor: ChalkConstructor; enabled: boolean;