From 22d4b2e3913d9208711adaa58a2eca7c5e426e0f Mon Sep 17 00:00:00 2001 From: Kristian Dupont Date: Thu, 18 May 2017 13:11:51 +0200 Subject: [PATCH] Fix doc mistake (#1028) * Fix doc mistake * Remove throw doc in Realm.open --- docs/realm.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/docs/realm.js b/docs/realm.js index 68343474..7d7f97ba 100644 --- a/docs/realm.js +++ b/docs/realm.js @@ -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) {}