Fixes build for selenium-webdriver on typescript@2.0

This commit is contained in:
Simon Gellis
2017-02-05 19:59:53 -05:00
parent ce712294ff
commit a2f8e1b170
3 changed files with 3 additions and 1 deletions

View File

@@ -4015,7 +4015,7 @@ export class WebDriver {
* rejected if the condition times out.
* @template T
*/
wait<T>(condition: promise.Promise<T> | Condition<T> | ((driver: WebDriver) => T | Promise<T>) | Function, opt_timeout?: number, opt_message?: string): promise.Promise<T>;
wait<T>(condition: PromiseLike<T> | Condition<T> | ((driver: WebDriver) => T | PromiseLike<T>) | Function, opt_timeout?: number, opt_message?: string): promise.Promise<T>;
/**
* Schedules a command to make the driver sleep for the given amount of time.

View File

@@ -5,6 +5,7 @@
"lib": [
"es6"
],
"target": "es6",
"noImplicitAny": true,
"noImplicitThis": false,
"strictNullChecks": false,

View File

@@ -4,6 +4,7 @@
"lib": [
"es6"
],
"target": "es6",
"noImplicitAny": true,
"noImplicitThis": false,
"strictNullChecks": false,