Update type definitions

This commit is contained in:
Tom Sherman 2019-01-26 21:50:48 +00:00
parent 438f32698e
commit 08f9e5f3e3
2 changed files with 3 additions and 3 deletions

View file

@ -24,7 +24,7 @@ export type ColorSupport = {|
export interface Chalk {
(...text: string[]): string,
(text: TemplateStringsArray, ...placeholders: mixed[]): string,
constructor(options?: Options): Chalk,
instance(options?: Options): Chalk,
enabled: boolean,
level: Level,
rgb(red: number, green: number, blue: number): Chalk,