mirror of
https://github.com/status-im/realm-js.git
synced 2025-01-12 07:14:23 +00:00
Add param type to addConnectionNotification/removeConnectionNotification (#2003)
This commit is contained in:
parent
81cb7c4636
commit
760ddd578f
@ -17,6 +17,7 @@ Server and open synchronized Realms (#1276).
|
||||
### Bug fixes
|
||||
* Removed a false negative warning when using `User.createConfiguration`.
|
||||
* Fixed the type definition for `User.authenticate`.
|
||||
* Fixed the type definitions for `Session.addConnectionNotification` and `Session.removeConnectionNotification`
|
||||
|
||||
### Internal
|
||||
* Realm Core v5.7.2.
|
||||
|
4
lib/index.d.ts
vendored
4
lib/index.d.ts
vendored
@ -466,8 +466,8 @@ declare namespace Realm.Sync {
|
||||
addProgressNotification(direction: ProgressDirection, mode: ProgressMode, progressCallback: ProgressNotificationCallback): void;
|
||||
removeProgressNotification(progressCallback: ProgressNotificationCallback): void;
|
||||
|
||||
addConnectionNotification(callback): void;
|
||||
removeConnectionNotification(callback): void;
|
||||
addConnectionNotification(callback: ConnectionNotificationCallback): void;
|
||||
removeConnectionNotification(callback: ConnectionNotificationCallback): void;
|
||||
|
||||
isConnected(): boolean;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user