Update index.d.ts
This commit is contained in:
parent
c2e3bf0756
commit
ecf8f86c7c
1 changed files with 1 additions and 2 deletions
3
types/index.d.ts
vendored
3
types/index.d.ts
vendored
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue