Skip to content

Commit 8d01322

Browse files
author
Chris Garrett
authored
Merge pull request #27 from jacobq/patch-1
Make component constructor arguments explicit
2 parents cf957fd + bcc6e38 commit 8d01322

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

code/constructors/octane.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import Component from '@glimmer/component';
22

33
export default class SomeComponent extends Component {
4-
constructor() {
5-
super(...arguments);
4+
constructor(owner, args) {
5+
super(owner, args);
66
this.answer = 42;
77
}
88
}

0 commit comments

Comments
 (0)