Co-authored-by: Drew Ansbacher <drew.ansbacher@spiredigital.com>
This commit is contained in:
Drew Ansbacher
2021-12-22 09:40:16 -07:00
committed by Aiden McClelland
parent 0077a925a2
commit d92aefd093

View File

@@ -166,9 +166,7 @@ export class PatchDbService {
return this.patchConnection$.asObservable()
}
watch$: Store<DataModel>['watch$'] = (
...args: (string | number)[],
): Observable<DataModel> => {
watch$: Store<DataModel>['watch$'] = (...args: (string | number)[]): Observable<DataModel> => {
const argsString = '/' + args.join('/')
console.log('patchDB: WATCHING ', argsString)
return this.patchDb.store.watch$(...(args as [])).pipe(