From 82a755a5c11d9ac34e56029da34181c02b78ad2c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Morch=C3=B3n=20Poveda?= Date: Wed, 12 Aug 2015 12:10:40 +0200 Subject: [PATCH] Added webpage module Firstly only with the create() function. i.e.: ``` typescript import {create} from "webpage"; let page = create(); ``` --- phantomjs/phantomjs.d.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/phantomjs/phantomjs.d.ts b/phantomjs/phantomjs.d.ts index 0bb6af7b8..be78db06b 100644 --- a/phantomjs/phantomjs.d.ts +++ b/phantomjs/phantomjs.d.ts @@ -302,3 +302,7 @@ interface Cookie { value: string; domain?: string; } + +declare module "webpage" { + export function create(): WebPage; +}