Skip to content

Commit c347b41

Browse files
authored
Merge pull request #215 from cibernox/fix-in-3.11+
Fix in 3.11+
2 parents 61f59bd + eb3ab7d commit c347b41

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

addon/-private/model.ts

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,11 @@ interface HasManyContract {
2020
}
2121

2222
export default class Model extends EmberObject {
23-
identity: RecordIdentity;
23+
identity!: RecordIdentity;
2424

2525
private _store?: Store;
2626
private _relatedRecords: Dict<HasManyContract> = {};
2727

28-
constructor(settings: ModelSettings) {
29-
super(...arguments);
30-
this.identity = settings.identity;
31-
}
32-
3328
get id(): string {
3429
return this.identity.id;
3530
}

0 commit comments

Comments
 (0)