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
|
||||
* synchronized before it is available.
|
||||
* @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.
|
||||
* @throws {Error} If anything in the provided `config` is invalid.
|
||||
*/
|
||||
static open(config) {}
|
||||
|
||||
|
|
Loading…
Reference in New Issue