From 5cb7939e861b396d330565544be3bb02796cb303 Mon Sep 17 00:00:00 2001 From: Sindre Sorhus Date: Thu, 22 Aug 2019 15:27:48 +0200 Subject: [PATCH] Update index.d.ts --- index.d.ts | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/index.d.ts b/index.d.ts index 81b6efc..c650eb9 100644 --- a/index.d.ts +++ b/index.d.ts @@ -21,7 +21,9 @@ declare const enum LevelEnum { } /** -Available builtin foreground colors. Other colors are also available: https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support +Basic foreground colors. + +[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) */ declare type ForegroundColor = | 'black' @@ -44,7 +46,9 @@ declare type ForegroundColor = | 'whiteBright'; /** -Available builtin background colors. Other colors are also available: https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support +Basic background colors. + +[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) */ declare type BackgroundColor = | 'bgBlack' @@ -67,13 +71,12 @@ declare type BackgroundColor = | 'bgWhiteBright'; /** -Available colors. +Basic colors. + +[More colors here.](https://github.com/chalk/chalk/blob/master/readme.md#256-and-truecolor-color-support) */ declare type Color = ForegroundColor | BackgroundColor; -/** -Available modifiers. -*/ declare type Modifiers = | 'reset' | 'bold'