From 8435068cbf1d69dc9770b05cea549ce6576a8a8b Mon Sep 17 00:00:00 2001 From: Kenneth Geisshirt Date: Thu, 28 Jun 2018 10:35:38 +0200 Subject: [PATCH] Revert "Added a TypeScript definition for computeSize" This reverts commit 367133c53e80153e2ab0fede394b7be9eab53bf8. --- lib/index.d.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/lib/index.d.ts b/lib/index.d.ts index b0f7de6c..920fd2b7 100644 --- a/lib/index.d.ts +++ b/lib/index.d.ts @@ -318,7 +318,7 @@ declare namespace Realm.Sync { static requestPasswordReset(server: string, email: string): Promise; static completePasswordReset(server:string, reset_token:string, new_password:string): Promise; - + static requestEmailConfirmation(server:string, email:string): Promise; static confirmEmail(server:string, confirmation_token:string): Promise; @@ -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