Update types/index.d.ts basic, no arg form

Co-Authored-By: vanbujm <vanbujm@gmail.com>
This commit is contained in:
Sindre Sorhus 2018-12-26 13:53:47 +08:00 committed by GitHub
parent eac645be4f
commit 3f9e501465
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
types/index.d.ts vendored
View file

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