Skip to content

Commit

Permalink
Update types/index.d.ts basic, no arg form
Browse files Browse the repository at this point in the history
Co-Authored-By: vanbujm <vanbujm@gmail.com>
  • Loading branch information
sindresorhus and vanbujm committed Dec 26, 2018
1 parent eac645b commit 3f9e501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 3f9e501

Please sign in to comment.