From ccfee5cb65238851244f7d234ffff1466a9fb7c0 Mon Sep 17 00:00:00 2001 From: Kenneth Geisshirt Date: Tue, 7 Feb 2023 15:00:45 +0100 Subject: [PATCH] PR feedback --- types/index.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/types/index.d.ts b/types/index.d.ts index 1a60d6a4fb6..39da95a596c 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -175,8 +175,8 @@ declare namespace Realm { interface ClientResetRecoveryOrDiscardConfiguration { mode: ClientResetMode.RecoverOrDiscardUnsyncedChanges; onBefore?: ClientResetBeforeCallback; - onRecovery: ClientResetAfterCallback; - onDiscard: ClientResetAfterCallback; + onRecovery?: ClientResetAfterCallback; + onDiscard?: ClientResetAfterCallback; onFallback?: ClientResetFallbackCallback; }