fix: make style properties readonly
This commit is contained in:
parent
d9b67a9aad
commit
e43ec91d25
1 changed files with 42 additions and 42 deletions
84
types/index.d.ts
vendored
84
types/index.d.ts
vendored
|
|
@ -44,50 +44,50 @@ export interface Chalk {
|
|||
hex(color: string): this;
|
||||
keyword(color: string): this;
|
||||
|
||||
reset: this;
|
||||
bold: this;
|
||||
dim: this;
|
||||
italic: this;
|
||||
underline: this;
|
||||
inverse: this;
|
||||
hidden: this;
|
||||
strikethrough: this;
|
||||
readonly reset: this;
|
||||
readonly bold: this;
|
||||
readonly dim: this;
|
||||
readonly italic: this;
|
||||
readonly underline: this;
|
||||
readonly inverse: this;
|
||||
readonly hidden: this;
|
||||
readonly strikethrough: this;
|
||||
|
||||
black: this;
|
||||
red: this;
|
||||
green: this;
|
||||
yellow: this;
|
||||
blue: this;
|
||||
magenta: this;
|
||||
cyan: this;
|
||||
white: this;
|
||||
gray: this;
|
||||
grey: this;
|
||||
blackBright: this;
|
||||
redBright: this;
|
||||
greenBright: this;
|
||||
yellowBright: this;
|
||||
blueBright: this;
|
||||
magentaBright: this;
|
||||
cyanBright: this;
|
||||
whiteBright: this;
|
||||
readonly black: this;
|
||||
readonly red: this;
|
||||
readonly green: this;
|
||||
readonly yellow: this;
|
||||
readonly blue: this;
|
||||
readonly magenta: this;
|
||||
readonly cyan: this;
|
||||
readonly white: this;
|
||||
readonly gray: this;
|
||||
readonly grey: this;
|
||||
readonly blackBright: this;
|
||||
readonly redBright: this;
|
||||
readonly greenBright: this;
|
||||
readonly yellowBright: this;
|
||||
readonly blueBright: this;
|
||||
readonly magentaBright: this;
|
||||
readonly cyanBright: this;
|
||||
readonly whiteBright: this;
|
||||
|
||||
bgBlack: this;
|
||||
bgRed: this;
|
||||
bgGreen: this;
|
||||
bgYellow: this;
|
||||
bgBlue: this;
|
||||
bgMagenta: this;
|
||||
bgCyan: this;
|
||||
bgWhite: this;
|
||||
bgBlackBright: this;
|
||||
bgRedBright: this;
|
||||
bgGreenBright: this;
|
||||
bgYellowBright: this;
|
||||
bgBlueBright: this;
|
||||
bgMagentaBright: this;
|
||||
bgCyanBright: this;
|
||||
bgWhiteBright: this;
|
||||
readonly bgBlack: this;
|
||||
readonly bgRed: this;
|
||||
readonly bgGreen: this;
|
||||
readonly bgYellow: this;
|
||||
readonly bgBlue: this;
|
||||
readonly bgMagenta: this;
|
||||
readonly bgCyan: this;
|
||||
readonly bgWhite: this;
|
||||
readonly bgBlackBright: this;
|
||||
readonly bgRedBright: this;
|
||||
readonly bgGreenBright: this;
|
||||
readonly bgYellowBright: this;
|
||||
readonly bgBlueBright: this;
|
||||
readonly bgMagentaBright: this;
|
||||
readonly bgCyanBright: this;
|
||||
readonly bgWhiteBright: this;
|
||||
}
|
||||
|
||||
declare const chalk: Chalk & { supportsColor: ColorSupport };
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue