Merge branch 'update-ts-files' of github.com:GeorgeGkas/chalk into update-ts-files

This commit is contained in:
George Gkasdrogkas 2018-10-28 10:36:01 +02:00
commit 0ac6f47334
No known key found for this signature in database
GPG key ID: 3FCA70FC54D4293F

View file

@ -1,8 +1,8 @@
import { expectType } from 'tsd-check';
import chalk, { Level, Chalk, ColorSupport } from '.';
import {expectType} from 'tsd-check';
import chalk, {Level, Chalk, ColorSupport} from '.';
// - Helpers -
type colorReturn = Chalk & { supportsColor: ColorSupport };
type colorReturn = Chalk & {supportsColor: ColorSupport};
// - Level -
expectType<number>(Level.None);
@ -145,4 +145,3 @@ expectType<string>(chalk.bgWhiteBright`foo`);
// -- Complex --
expectType<string>(chalk.red.bgGreen.underline('foo'));
expectType<string>( chalk.underline.red.bgGreen('foo'));