in source as well

This commit is contained in:
Drew Ansbacher
2021-07-21 14:49:07 -06:00
committed by Aiden McClelland
parent cf43a9a83e
commit 56d7cae16d

View File

@@ -1,7 +1,7 @@
import { Observable } from 'rxjs'
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>>
}