Update index.d.ts
This commit is contained in:
parent
aefb21012d
commit
3d5418fafc
1 changed files with 11 additions and 11 deletions
22
index.d.ts
vendored
22
index.d.ts
vendored
|
|
@ -21,8 +21,8 @@ declare const enum LevelEnum {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Available foreground colors for use
|
Available foreground colors.
|
||||||
*/
|
*/
|
||||||
declare type ForegroundColor =
|
declare type ForegroundColor =
|
||||||
| "black"
|
| "black"
|
||||||
| "red"
|
| "red"
|
||||||
|
|
@ -44,8 +44,8 @@ declare type ForegroundColor =
|
||||||
| "whiteBright";
|
| "whiteBright";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Available background colors for use
|
Available background colors.
|
||||||
*/
|
*/
|
||||||
declare type BackgroundColor =
|
declare type BackgroundColor =
|
||||||
| "bgBlack"
|
| "bgBlack"
|
||||||
| "bgRed"
|
| "bgRed"
|
||||||
|
|
@ -67,13 +67,13 @@ declare type BackgroundColor =
|
||||||
| "bgWhiteBright";
|
| "bgWhiteBright";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Available colors for use
|
Available colors.
|
||||||
*/
|
*/
|
||||||
declare type Color = BackgroundColor | ForegroundColor;
|
declare type Color = ForegroundColor | BackgroundColor;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Available modifiers for use
|
Available modifiers.
|
||||||
*/
|
*/
|
||||||
declare type Modifiers =
|
declare type Modifiers =
|
||||||
| "reset"
|
| "reset"
|
||||||
| "bold"
|
| "bold"
|
||||||
|
|
@ -371,9 +371,9 @@ This simply means that `chalk.red.yellow.green` is equivalent to `chalk.green`.
|
||||||
declare const chalk: chalk.Chalk & chalk.ChalkFunction & {
|
declare const chalk: chalk.Chalk & chalk.ChalkFunction & {
|
||||||
supportsColor: chalk.ColorSupport | false;
|
supportsColor: chalk.ColorSupport | false;
|
||||||
Level: typeof LevelEnum;
|
Level: typeof LevelEnum;
|
||||||
BackgroundColor: BackgroundColor;
|
|
||||||
ForegroundColor: ForegroundColor;
|
|
||||||
Color: Color;
|
Color: Color;
|
||||||
|
ForegroundColor: ForegroundColor;
|
||||||
|
BackgroundColor: BackgroundColor;
|
||||||
Modifiers: Modifiers;
|
Modifiers: Modifiers;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue