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 }