mirror of
https://github.com/Start9Labs/patch-db.git
synced 2026-03-26 10:21:53 +00:00
in source as well
This commit is contained in:
committed by
Aiden McClelland
parent
cf43a9a83e
commit
56d7cae16d
@@ -1,7 +1,7 @@
|
|||||||
import { Observable } from 'rxjs'
|
import { Observable } from 'rxjs'
|
||||||
import { Store } from '../store'
|
import { Store } from '../store'
|
||||||
import { Update } from '../types'
|
import { HashMap, Update } from '../types'
|
||||||
|
|
||||||
export interface Source<T> {
|
export interface Source<T extends HashMap> {
|
||||||
watch$ (store?: Store<T>): Observable<Update<T>>
|
watch$ (store?: Store<T>): Observable<Update<T>>
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user