Changed typings for flow from string[] -> mixed[]

This commit is contained in:
Jonathan Van Buren 2018-12-26 14:11:28 +08:00
parent 3f9e501465
commit a5192264ea
No known key found for this signature in database
GPG key ID: FADD50A7C254E12A
2 changed files with 2 additions and 10 deletions

View file

@ -22,8 +22,8 @@ export type ColorSupport = {|
|};
export interface Chalk {
(...text: string[]): string,
(text: TemplateStringsArray, ...placeholders: string[]): string,
(...text: mixed[]): string,
(text: TemplateStringsArray, ...placeholders: mixed[]): string,
constructor(options?: ChalkOptions): Chalk,
enabled: boolean,
level: Level,