Skip to content

Commit

Permalink
Add missing slash to routeId JS doc
Browse files Browse the repository at this point in the history
Implementation was changed in sveltejs#7338
  • Loading branch information
brunnerh authored Nov 2, 2022
1 parent 9c5b86e commit 7d62c7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/kit/types/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,7 @@ export interface NavigationEvent<
*/
params: Params;
/**
* The route ID of the current page - e.g. for `src/routes/blog/[slug]`, it would be `blog/[slug]`
* The route ID of the current page - e.g. for `src/routes/blog/[slug]`, it would be `/blog/[slug]`
*/
routeId: string | null;
/**
Expand Down

0 comments on commit 7d62c7e

Please sign in to comment.