extends hashmap

This commit is contained in:
Drew Ansbacher
2021-07-21 14:47:38 -06:00
committed by Aiden McClelland
parent 88084f60a2
commit cf43a9a83e
2 changed files with 4 additions and 4 deletions

View File

@@ -8,8 +8,8 @@ export interface StashEntry {
undo: Operation[]
}
export class Store<T> {
cache: DBCache<HashMap>
export class Store<T extends HashMap> {
cache: DBCache<T>
sequence$: BehaviorSubject<number>
private watchedNodes: { [path: string]: BehaviorSubject<any> } = { }
private stash = new BTree<number, StashEntry>()