docs: fix typo in scrollToTop (#22503)

This commit is contained in:
Andrey Yolkin 2023-08-06 21:31:22 +03:00 committed by GitHub
parent 8eefc064b0
commit 172ca80c30
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,7 +99,7 @@ interface PageMeta {
Validate whether a given route can validly be rendered with this page. Return true if it is valid, or false if not. If another match can't be found, this will mean a 404. You can also directly return an object with `statusCode`/`statusMessage` to respond immediately with an error (other matches will not be checked). Validate whether a given route can validly be rendered with this page. Return true if it is valid, or false if not. If another match can't be found, this will mean a 404. You can also directly return an object with `statusCode`/`statusMessage` to respond immediately with an error (other matches will not be checked).
**`scrollTopTop`** **`scrollToTop`**
- **Type**: `boolean | (to: RouteLocationNormalized, from: RouteLocationNormalized) => boolean` - **Type**: `boolean | (to: RouteLocationNormalized, from: RouteLocationNormalized) => boolean`