Merge pull request #1415 from realm/fix-partial-sync-config-ts-definition

fix partial in ts definitions
This commit is contained in:
blagoev 2017-10-16 15:17:33 +03:00 committed by GitHub
commit 2a20bc96e8
2 changed files with 8 additions and 3 deletions

View File

@ -1,13 +1,17 @@
X.Y.Z Release notes
=============================================================
### Breaking changes
* `Realm.Sync.User.adminUser()` will now throw an exception if either token or server argument is invalid.
* None
### Enhancements
* None.
* None
### Bug fixes
* None.
* Fix Typescript definition for partial sync configuration object.
* `Realm.Sync.User.adminUser()` will now throw an exception if either token or server argument is invalid.
### Internal
* None
2.0.0-rc22 Release notes (2017-10-13)
=============================================================

1
lib/index.d.ts vendored
View File

@ -362,6 +362,7 @@ declare namespace Realm.Sync {
ssl_trust_certificate_path?: string;
ssl_verify_callback?: SSLVerifyCallback;
error?: ErrorCallback;
partial?: boolean;
}
type ProgressNotificationCallback = (transferred: number, transferable: number) => void;