Fix doc mistake (#1028)

* Fix doc mistake

* Remove throw doc in Realm.open
This commit is contained in:
Kristian Dupont 2017-05-18 13:11:51 +02:00 committed by GitHub
parent 1323a8d110
commit 22d4b2e391
1 changed files with 0 additions and 2 deletions

View File

@ -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) {}