Skip to content

Commit 4621b72

Browse files
authored
docs: fix API formatting in readme (#283)
Display the observable type parameters when the API Markdown table is rendered.
1 parent d74139c commit 4621b72

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,16 @@ Published with partial Ivy compilation.
1919

2020
A `RouterStore` service has the following public properties:
2121

22-
| API | Description |
23-
| ---------------------------------------------------------------- | ------------------------------------------ |
24-
| currentRoute$: Observable<MinimalActivatedRouteSnapshot> | Select the current route. |
25-
| fragment$: Observable<string \| null> | Select the current route fragment. |
26-
| queryParams$: Observable<Params> | Select the current route query parameters. |
27-
| routeData$: Observable<Data> | Select the current route data. |
28-
| routeParams$: Observable<Params> | Select the current route parameters. |
29-
| url$: Observable<string> | Select the current URL. |
30-
| selectQueryParam(param: string): Observable<string \| undefined> | Select the specified query parameter. |
31-
| selectRouteParam(param: string): Observable<string \| undefined> | Select the specified route parameter. |
22+
| API | Description |
23+
| ------------------------------------------------------------------ | ------------------------------------------ |
24+
| `currentRoute$: Observable<MinimalActivatedRouteSnapshot>` | Select the current route. |
25+
| `fragment$: Observable<string \| null>` | Select the current route fragment. |
26+
| `queryParams$: Observable<Params>` | Select the current route query parameters. |
27+
| `routeData$: Observable<Data>` | Select the current route data. |
28+
| `routeParams$: Observable<Params>` | Select the current route parameters. |
29+
| `url$: Observable<string>` | Select the current URL. |
30+
| `selectQueryParam(param: string): Observable<string \| undefined>` | Select the specified query parameter. |
31+
| `selectRouteParam(param: string): Observable<string \| undefined>` | Select the specified route parameter. |
3232

3333
A `RouterStore` service is provided by using either `provideGlobalRouterStore` or `provideLocalRouterStore`.
3434

0 commit comments

Comments
 (0)