Refactor store
This commit is contained in:
parent
952a3cd34c
commit
9933f4f9ff
1 changed files with 207 additions and 286 deletions
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Reference in a new issue