mirror of
https://github.com/status-im/realm-js.git
synced 2025-02-17 00:56:22 +00:00
Fix doc mistake (#1028)
* Fix doc mistake * Remove throw doc in Realm.open
This commit is contained in:
parent
1323a8d110
commit
22d4b2e391
@ -79,9 +79,7 @@ class Realm {
|
|||||||
* Open a realm asynchronously with a promise. If the realm is synced, it will be fully
|
* Open a realm asynchronously with a promise. If the realm is synced, it will be fully
|
||||||
* synchronized before it is available.
|
* synchronized before it is available.
|
||||||
* @param {Realm~Configuration} config
|
* @param {Realm~Configuration} config
|
||||||
* @param {function(error, realm)} callback - will be called when the realm is ready.
|
|
||||||
* @returns {Promise} - a promise that will be resolved with the realm instance when it's available.
|
* @returns {Promise} - a promise that will be resolved with the realm instance when it's available.
|
||||||
* @throws {Error} If anything in the provided `config` is invalid.
|
|
||||||
*/
|
*/
|
||||||
static open(config) {}
|
static open(config) {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user