Skip to content

Commit

Permalink
Update docs/rules/classic-decorator-no-classic-methods.md
Browse files Browse the repository at this point in the history
Co-Authored-By: Robert Jackson <me@rwjblue.com>
  • Loading branch information
bmish and rwjblue authored Mar 27, 2020
1 parent ae56cc7 commit e987200
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions docs/rules/classic-decorator-no-classic-methods.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,12 +60,7 @@ export default class MyService extends Service {
import { tracked } from '@glimmer/tracking';

export default class MyService extends Service {
@tracked foo;

constructor(...args) {
super(...args);
this.foo = 'bar';
}
@tracked foo = 'bar';
}
```

Expand Down

0 comments on commit e987200

Please sign in to comment.