mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-10 11:40:16 +08:00
Added webpage module
Firstly only with the create() function.
i.e.:
``` typescript
import {create} from "webpage";
let page = create();
```
This commit is contained in:
Vendored
+4
@@ -302,3 +302,7 @@ interface Cookie {
|
||||
value: string;
|
||||
domain?: string;
|
||||
}
|
||||
|
||||
declare module "webpage" {
|
||||
export function create(): WebPage;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user