mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-21 00:28:23 +08:00
Fixes build for selenium-webdriver on typescript@2.0
This commit is contained in:
2
selenium-webdriver/index.d.ts
vendored
2
selenium-webdriver/index.d.ts
vendored
@@ -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.
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": false,
|
||||
"strictNullChecks": false,
|
||||
|
||||
@@ -4,6 +4,7 @@
|
||||
"lib": [
|
||||
"es6"
|
||||
],
|
||||
"target": "es6",
|
||||
"noImplicitAny": true,
|
||||
"noImplicitThis": false,
|
||||
"strictNullChecks": false,
|
||||
|
||||
Reference in New Issue
Block a user