it compiles into the javascript: ``` class Counte...
# announcements
d
it compiles into the javascript:
Copy code
class Counter {
    constructor () {
        extendObservable(this, {
          count: 0,
          get twice() { return this.count * 2 }
        })
    }
}
which is exactly what i want. but i've been unable to think of a way to dry it up