fix(ts+flow): add false case for reexported supportsColor

fix #318
This commit is contained in:
Pavel Lang 2018-12-27 19:27:14 +01:00
parent 6be301b1a4
commit b1322eacd0
No known key found for this signature in database
GPG key ID: 623A223A57974B55
3 changed files with 6 additions and 6 deletions

View file

@ -14,7 +14,7 @@ export type Options = {|
level?: Level
|};
export type ColorSupport = {|
export type ColorSupport = false | {|
level: Level,
hasBasic: boolean,
has256: boolean,