Meta tweaks
This commit is contained in:
parent
795273f17a
commit
77126fba13
6 changed files with 29 additions and 51 deletions
7
source/index.d.ts
vendored
7
source/index.d.ts
vendored
|
|
@ -1,7 +1,12 @@
|
|||
// TODO: Make it this when TS suports that.
|
||||
// import {ModifierName, ForegroundColor, BackgroundColor, ColorName} from '#ansi-styles';
|
||||
// import {ColorInfo, ColorSupportLevel} from '#supports-color';
|
||||
import {ModifierName, ForegroundColorName, BackgroundColorName, ColorName} from './vendor/ansi-styles/index.js';
|
||||
import {
|
||||
ModifierName,
|
||||
ForegroundColorName,
|
||||
BackgroundColorName,
|
||||
ColorName,
|
||||
} from './vendor/ansi-styles/index.js';
|
||||
import {ColorInfo, ColorSupportLevel} from './vendor/supports-color/index.js';
|
||||
|
||||
export interface Options {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,22 @@
|
|||
import {expectType, expectAssignable, expectError, expectDeprecated} from 'tsd';
|
||||
import {
|
||||
expectType,
|
||||
expectAssignable,
|
||||
expectError,
|
||||
expectDeprecated,
|
||||
} from 'tsd';
|
||||
import chalk, {
|
||||
Chalk, ChalkInstance, ColorInfo, ColorSupport, ColorSupportLevel, chalkStderr, supportsColor, supportsColorStderr,
|
||||
ModifierName, ForegroundColorName, BackgroundColorName, ColorName,
|
||||
Chalk,
|
||||
ChalkInstance,
|
||||
ColorInfo,
|
||||
ColorSupport,
|
||||
ColorSupportLevel,
|
||||
chalkStderr,
|
||||
supportsColor,
|
||||
supportsColorStderr,
|
||||
ModifierName,
|
||||
ForegroundColorName,
|
||||
BackgroundColorName,
|
||||
ColorName,
|
||||
Modifiers,
|
||||
} from './index.js';
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue