mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-04 04:01:52 +00:00
fix incorrect type
ChalkChain conctructor return type is `false` while it should be `boolean`
This commit is contained in:
committed by
GitHub
parent
bc150e1372
commit
a31e9a4bbf
Vendored
+1
-1
@@ -14,7 +14,7 @@ declare namespace Chalk {
|
||||
export function hasColor(str: string): boolean;
|
||||
|
||||
export interface ChalkChain extends ChalkStyle {
|
||||
(): false;
|
||||
(): boolean;
|
||||
(...text: string[]): string;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user