Skip to content

Commit

Permalink
Update docs to match native class syntax
Browse files Browse the repository at this point in the history
The example code snippet here assumes it will be used in a classic-style class body, but all the rest of the docs are updated for native class syntax.

(cherry picked from commit 5e15802)
  • Loading branch information
ef4 authored and kategengler committed Mar 21, 2022
1 parent f35b4fe commit 14cea13
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/@ember/-internals/routing/lib/system/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ class Route<T = unknown>
(assuming a query param whose controller property is `page`):
```javascript
queryParams: {
queryParams = {
page: {
// By default, controller query param properties don't
// cause a full transition when they are changed, but
Expand Down Expand Up @@ -404,7 +404,7 @@ class Route<T = unknown>
// different URL key.
as: 'page'
}
}
};
```
@property queryParams
Expand Down

0 comments on commit 14cea13

Please sign in to comment.