mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 19:09:18 +08:00
Update angular-protractor.d.ts
Change string to the correct type, webdriver.promise.Promise.
This commit is contained in:
4
angular-protractor/angular-protractor.d.ts
vendored
4
angular-protractor/angular-protractor.d.ts
vendored
@@ -772,7 +772,7 @@ declare module protractor {
|
||||
/**
|
||||
* Returns the current absolute url from AngularJS.
|
||||
*/
|
||||
getLocationAbsUrl(): string;
|
||||
getLocationAbsUrl(): webdriver.promise.Promise;
|
||||
|
||||
/**
|
||||
* Pauses the test and injects some helper functions into the browser, so that
|
||||
@@ -865,4 +865,4 @@ declare var element: protractor.Element;
|
||||
|
||||
declare module 'protractor' {
|
||||
export = protractor;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user