fix: address todos (#2578)

This commit is contained in:
Alex Inkin
2024-03-28 00:27:51 +08:00
committed by GitHub
parent 641e829e3f
commit 8cfd994170
16 changed files with 359 additions and 192 deletions

View File

@@ -9,8 +9,7 @@ import { LocalStorageBootstrap } from './patch-db/local-storage-bootstrap'
@Injectable({
providedIn: 'root',
})
export class PatchMonitorService extends Observable<any> {
// @TODO-Alex not happy with Observable<void>
export class PatchMonitorService extends Observable<unknown> {
private readonly stream$ = this.authService.isVerified$.pipe(
tap(verified =>
verified ? this.patch.start(this.bootstrapper) : this.patch.stop(),