From 9d02165db13315185106f2864f392e9cb1d868d9 Mon Sep 17 00:00:00 2001 From: blagoev Date: Sat, 9 Sep 2017 01:59:30 +0300 Subject: [PATCH] update typescript definitions --- lib/index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index b80c313c..91320b2c 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -332,9 +332,10 @@ declare namespace Realm.Sync { ssl_trust_certificate_path?: string; } - type ProgressNotificationCallback = (transferred: number, total: number) => void; + type ProgressNotificationCallback = (transferred: number, transferable: number) => void; type ProgressDirection = 'download' | 'upload'; type ProgressMode = 'reportIndefinitely' | 'forCurrentlyOutstandingWork'; + /** * Session * @see { @link https://realm.io/docs/javascript/latest/api/Realm.Sync.Session.html }