Update _flow.js

This commit is contained in:
Sindre Sorhus 2018-12-28 12:17:47 +01:00 committed by GitHub
parent f29eaaec43
commit 02f0a9d8e9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,14 +10,6 @@ chalk.constructor({level: 1});
new chalk.constructor({enabled: 'true'});
new chalk.constructor({enabled: true});
// $ExpectError (Can't pass in null)
chalk.underline(null);
chalk.underline('foo');
// $ExpectError (Can't pass in null)
chalkStderr.underline(null);
chalkStderr.underline('foo');
// $ExpectError (Can't have typo in chalk method)
chalk.rd('foo');
chalk.red('foo');