From 5d0b1406b14fcb66f583447508f986ff187729e8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Vitor=20de=20Lima=20Matos?= Date: Tue, 20 Sep 2022 23:03:04 -0300 Subject: [PATCH] sdk: chore: adjust db type for TS 4.8 --- raiden-ts/src/db/utils.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/raiden-ts/src/db/utils.ts b/raiden-ts/src/db/utils.ts index fd57c85e64..f545378dc0 100644 --- a/raiden-ts/src/db/utils.ts +++ b/raiden-ts/src/db/utils.ts @@ -136,7 +136,10 @@ async function makeDatabase( * @returns Observable of changes responses */ // eslint-disable-next-line @typescript-eslint/ban-types -export function changes$(db: RaidenDatabase, options?: PouchDB.Core.ChangesOptions) { +export function changes$( + db: RaidenDatabase, + options?: PouchDB.Core.ChangesOptions, +) { // concat allows second defer to be skipped in case of first()/take(1) succeeding return defer(() => { const feed = db.changes(options);