Update index.test-d.ts

This commit is contained in:
Sindre Sorhus 2018-12-26 01:55:44 +01:00 committed by GitHub
parent aaf4a9bc65
commit 575d73d913
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,7 +19,7 @@ expectType<boolean>(chalk.supportsColor.has16m);
// -- Constructor --
expectType<Chalk>(chalk.constructor());
expectType<Chalk>(chalk.constructor());
expectType<Chalk>(new chalk.constructor({ level: 1 }));
expectType<Chalk>(new chalk.constructor({level: 1}));
// -- Properties --
expectType<boolean>(chalk.enabled);