fix(docs): missing reference type (#8031)

This was causing the .NET API to have invalid XML comments.
This commit is contained in:
Anže Vodovnik 2021-08-12 10:54:51 +02:00 committed by GitHub
parent 1f168bd9c7
commit b88c4ee49c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 3 deletions

View File

@ -383,7 +383,7 @@ Optional argument to pass to [`param: expression`].
The method finds all elements matching the specified locator and passes an array of matched elements as The method finds all elements matching the specified locator and passes an array of matched elements as
a first argument to [`param: expression`]. Returns the result of [`param: expression`] invocation. a first argument to [`param: expression`]. Returns the result of [`param: expression`] invocation.
If [`param: expression`] returns a [Promise], then [`Locator.evaluateAll`] would wait for the promise If [`param: expression`] returns a [Promise], then [`method: Locator.evaluateAll`] would wait for the promise
to resolve and return its value. to resolve and return its value.
Examples: Examples:

5
types/types.d.ts vendored
View File

@ -7064,8 +7064,9 @@ export interface Locator {
* The method finds all elements matching the specified locator and passes an array of matched elements as a first argument * The method finds all elements matching the specified locator and passes an array of matched elements as a first argument
* to `pageFunction`. Returns the result of `pageFunction` invocation. * to `pageFunction`. Returns the result of `pageFunction` invocation.
* *
* If `pageFunction` returns a [Promise], then [`Locator.evaluateAll`] would wait for the promise to resolve and return its * If `pageFunction` returns a [Promise], then
* value. * [locator.evaluateAll(pageFunction[, arg])](https://playwright.dev/docs/api/class-locator#locator-evaluate-all) would
* wait for the promise to resolve and return its value.
* *
* Examples: * Examples:
* *