Skip to content

Commit 25e61d1

Browse files
nikvmdopry
authored andcommitted
readme: Fix method definition
1 parent 852c7a6 commit 25e61d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -439,7 +439,7 @@ export default ({ url }) => (
439439

440440
The method is defined as follows:
441441

442-
- `prefetch(url: string): void` – Prefetches given url.
442+
- `prefetch(url: string): Promise` – Prefetches given url.
443443

444444
### Customizing Server Routes
445445

0 commit comments

Comments
 (0)