Fix for index.d.ts

This commit is contained in:
blagoev 2017-09-13 13:03:28 +03:00
parent 8ba71e36c7
commit e48d3ae638
1 changed files with 1 additions and 1 deletions

2
lib/index.d.ts vendored
View File

@ -451,7 +451,7 @@ declare class Realm {
* @param {Function} callback will be called when the realm is ready.
* @param {ProgressNotificationCallback} progressCallback? a progress notification callback for 'download' direction and 'forCurrentlyOutstandingWork' mode
*/
static openAsync(config: Realm.Configuration, hello?: string, callback: (error: any, realm: Realm) => void, progressCallback?: Realm.Sync.ProgressNotificationCallback): void
static openAsync(config: Realm.Configuration, callback: (error: any, realm: Realm) => void, progressCallback?: Realm.Sync.ProgressNotificationCallback): void
/**
* Delete the Realm file for the given configuration.