Skip to content

Commit 2553a9d

Browse files
committed
fix docs
1 parent 6e32028 commit 2553a9d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/kit/types/ambient.d.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,7 @@ declare module '$app/navigation' {
266266
* Programmatically imports the code for routes that haven't yet been fetched.
267267
* Typically, you might call this to speed up subsequent navigation.
268268
*
269-
* If no argument is given, all routes will be fetched, otherwise you can specify routes by any matching pathname
270-
* such as `/about` (to match `src/routes/about.svelte`) or `/blog/*` (to match `src/routes/blog/[slug].svelte`).
269+
* You can specify routes by any matching pathname such as `/about` (to match `src/routes/about.svelte`) or `/blog/*` (to match `src/routes/blog/[slug].svelte`).
271270
*
272271
* Unlike `preloadData`, this won't call `load` functions.
273272
* Returns a Promise that resolves when the modules have been imported.

0 commit comments

Comments
 (0)