Skip to content

Commit 623fca4

Browse files
committed
Fix for eyes module API
1 parent 84dfeea commit 623fca4

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

eyes/eyes-tests.ts

+6-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,9 @@ var options = {
2626
hideFunctions: true,
2727
stream: process.stdout,
2828
maxLength: 120
29-
}
29+
}
30+
31+
var result = eyes.inspector(testObj)
32+
33+
34+

eyes/eyes.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ declare module "eyes"
1313
export function inspect(thing:any, label?:string): void;
1414

1515
export interface InspectorFunction {
16-
(thing:any, label?:string): void;
16+
(thing:any, label?:string): string;
1717
}
1818

1919
export interface EyesOptions

0 commit comments

Comments
 (0)