Explicit re-exporting
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
parent
8d18e3d58e
commit
952621ee49
1 changed files with 7 additions and 7 deletions
14
source/index.d.ts
vendored
14
source/index.d.ts
vendored
|
|
@ -1,4 +1,4 @@
|
||||||
import type {ColorInfo, ColorSupport, ColorSupportLevel} from 'supports-color';
|
import {ColorInfo, ColorSupportLevel} from 'supports-color';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Basic foreground colors.
|
Basic foreground colors.
|
||||||
|
|
@ -69,12 +69,6 @@ export type Modifiers =
|
||||||
| 'strikethrough'
|
| 'strikethrough'
|
||||||
| 'visible';
|
| 'visible';
|
||||||
|
|
||||||
export {
|
|
||||||
ColorInfo,
|
|
||||||
ColorSupport,
|
|
||||||
ColorSupportLevel,
|
|
||||||
};
|
|
||||||
|
|
||||||
export interface Options {
|
export interface Options {
|
||||||
/**
|
/**
|
||||||
Specify the color support for Chalk.
|
Specify the color support for Chalk.
|
||||||
|
|
@ -311,4 +305,10 @@ export const supportsColor: ColorInfo;
|
||||||
export const chalkStderr: typeof chalk;
|
export const chalkStderr: typeof chalk;
|
||||||
export const supportsColorStderr: typeof supportsColor;
|
export const supportsColorStderr: typeof supportsColor;
|
||||||
|
|
||||||
|
export {
|
||||||
|
ColorInfo,
|
||||||
|
ColorSupport,
|
||||||
|
ColorSupportLevel,
|
||||||
|
} from 'supports-color';
|
||||||
|
|
||||||
export default chalk;
|
export default chalk;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue