From db9c476fa5da19022e0d21e4d438a3dcdb62b568 Mon Sep 17 00:00:00 2001 From: "T. Michael Keesey" Date: Tue, 4 Mar 2014 19:25:40 -0800 Subject: [PATCH] Reinstated Phantom interface. --- phantomjs/phantomjs.d.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/phantomjs/phantomjs.d.ts b/phantomjs/phantomjs.d.ts index 0110cac17b..58e202ac85 100644 --- a/phantomjs/phantomjs.d.ts +++ b/phantomjs/phantomjs.d.ts @@ -5,7 +5,9 @@ declare function require(module: string): any; -declare var phantom: { +declare var phantom: Phantom; + +interface Phantom { // Properties args: string[]; // DEPRECATED @@ -28,7 +30,7 @@ declare var phantom: { // Callbacks onError: (msg: string, trace: string[]) => any; -}; +} interface System { pid: number;