forked from MapComplete/MapComplete
Reviews: hopefully fix #1782, add review overview
This commit is contained in:
parent
8be41571fa
commit
592adfdf2a
11 changed files with 172 additions and 32 deletions
|
@ -306,7 +306,8 @@ export abstract class Store<T> implements Readable<T> {
|
|||
|
||||
export class ImmutableStore<T> extends Store<T> {
|
||||
public readonly data: T
|
||||
|
||||
static FALSE = new ImmutableStore<boolean>(false)
|
||||
static TRUE = new ImmutableStore<boolean>(true)
|
||||
constructor(data: T) {
|
||||
super()
|
||||
this.data = data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue