Update index.test-d.ts

This commit is contained in:
Sindre Sorhus 2018-10-28 13:32:35 +07:00 committed by GitHub
parent 840483a750
commit d891265fbe
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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'));