Explicit re-exporting

Signed-off-by: Richie Bendall <richiebendall@gmail.com>
This commit is contained in:
Richie Bendall 2021-11-21 19:42:54 +13:00
parent 8d18e3d58e
commit 952621ee49
No known key found for this signature in database
GPG key ID: 1C6A99DFA9D306FC

14
source/index.d.ts vendored
View file

@ -1,4 +1,4 @@
import type {ColorInfo, ColorSupport, ColorSupportLevel} from 'supports-color';
import {ColorInfo, ColorSupportLevel} from 'supports-color';
/**
Basic foreground colors.
@ -69,12 +69,6 @@ export type Modifiers =
| 'strikethrough'
| 'visible';
export {
ColorInfo,
ColorSupport,
ColorSupportLevel,
};
export interface Options {
/**
Specify the color support for Chalk.
@ -311,4 +305,10 @@ export const supportsColor: ColorInfo;
export const chalkStderr: typeof chalk;
export const supportsColorStderr: typeof supportsColor;
export {
ColorInfo,
ColorSupport,
ColorSupportLevel,
} from 'supports-color';
export default chalk;