Skip to content

Commit

Permalink
fix for TS2611
Browse files Browse the repository at this point in the history
Signed-off-by: Dirk Van Haerenborgh <dirk.vanhaerenborgh@aloxy.io>
  • Loading branch information
vhdirk committed Nov 15, 2022
1 parent 7310229 commit f2dab79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/lib/api/src/model/model.ts
Expand Up @@ -68,7 +68,7 @@ export abstract class EntityModel {
* Entity with an 'id' field
*/
export abstract class EntityWithId extends EntityModel {
id!: string;
abstract id: string;

equals(toCompare: EntityWithId): boolean {
return super.equals(toCompare) && this.id === toCompare.id;
Expand Down

0 comments on commit f2dab79

Please sign in to comment.