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; }