Update index.d.ts

This commit is contained in:
Sindre Sorhus 2017-07-02 14:58:15 +02:00 committed by GitHub
parent c2e3bf0756
commit ecf8f86c7c

3
types/index.d.ts vendored
View file

@ -1,4 +1,4 @@
// Type definitions for Chalk 2 // Type definitions for Chalk
// Definitions by: Thomas Sauer <https://github.com/t-sauer> // Definitions by: Thomas Sauer <https://github.com/t-sauer>
export = chalk; export = chalk;
@ -7,7 +7,6 @@ declare function chalk(...text: (string | number)[]): string;
declare function chalk(text: TemplateStringsArray, ...placeholders: (string | number)[]): string; declare function chalk(text: TemplateStringsArray, ...placeholders: (string | number)[]): string;
declare namespace chalk { declare namespace chalk {
interface ChalkConstructorOptions { interface ChalkConstructorOptions {
enabled?: boolean; enabled?: boolean;
level?: number; level?: number;