Refactor store

This commit is contained in:
Andras Schmelczer 2019-09-06 20:44:29 +02:00
commit 9933f4f9ff

View file

@ -6,10 +6,10 @@ export abstract class Unique extends Initiable {
return Unique.nextId;
}
private _id: number;
get id(): number {
return this._id;
}
private _id: number;
protected initiate() {
this._id = Unique.nextId++;