1.0.0-canary.0
Pre-release
Pre-release
This is not final by any means
Major Changes
- Potential 1.0 candidate, single object model: 4e1b1bd
const Person = model('Person', ({ firstname }) => ({
firstname,
lastname: 'Lennon',
setFirstName(first: string) {
this.firstname = first;
},
setLastName(last: string) {
this.lastname = last;
},
get fullname() {
return `${this.firstname} ${this.lastname}`;
},
}));
const instance = Person({ firstname: 'John' });
Patches
- Move emitter to separate file: 0851bbc