Revert "Added a TypeScript definition for computeSize"

This reverts commit 367133c53e.
This commit is contained in:
Kenneth Geisshirt 2018-06-28 10:35:38 +02:00
parent bd45d6f0bf
commit 8435068cbf
1 changed files with 1 additions and 9 deletions

10
lib/index.d.ts vendored
View File

@ -318,7 +318,7 @@ declare namespace Realm.Sync {
static requestPasswordReset(server: string, email: string): Promise<void>;
static completePasswordReset(server:string, reset_token:string, new_password:string): Promise<void>;
static requestEmailConfirmation(server:string, email:string): Promise<void>;
static confirmEmail(server:string, confirmation_token:string): Promise<void>;
@ -733,14 +733,6 @@ declare class Realm {
*/
compact(): boolean;
/**
* Computes the aggregated size of all objects and their history in the Realm.
*
* Note that this will traverse the Realm and might be expensive for large Realms.
* @returns {number} the computed size in bytes.
*/
computeSize(): number;
/**
* Write a copy to destination path
* @param path destination path