From 623fca4e98243496e54e2d54a129d0452a1d7e30 Mon Sep 17 00:00:00 2001 From: bryn austin bellomy Date: Sun, 21 Jun 2015 06:23:41 -0500 Subject: [PATCH] Fix for eyes module API --- eyes/eyes-tests.ts | 7 ++++++- eyes/eyes.d.ts | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/eyes/eyes-tests.ts b/eyes/eyes-tests.ts index 3182195dda..156054ba1c 100644 --- a/eyes/eyes-tests.ts +++ b/eyes/eyes-tests.ts @@ -26,4 +26,9 @@ var options = { hideFunctions: true, stream: process.stdout, maxLength: 120 -} \ No newline at end of file +} + +var result = eyes.inspector(testObj) + + + diff --git a/eyes/eyes.d.ts b/eyes/eyes.d.ts index 0919168210..8c731513a2 100644 --- a/eyes/eyes.d.ts +++ b/eyes/eyes.d.ts @@ -13,7 +13,7 @@ declare module "eyes" export function inspect(thing:any, label?:string): void; export interface InspectorFunction { - (thing:any, label?:string): void; + (thing:any, label?:string): string; } export interface EyesOptions