mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-10 11:50:49 +08:00
Update angular-protractor.d.ts
Change string to the correct type, webdriver.promise.Promise.
This commit is contained in:
1 parent
4cb28c018b
commit
bc0028b45a
1 file changed
+2
-2
+2
-2
@@ -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