From e781f01aaba3faae22edeed0c02f02c4545aa92d Mon Sep 17 00:00:00 2001 From: JiglioNero Date: Thu, 21 Mar 2024 16:11:11 +0100 Subject: [PATCH] Update updateDialog property type in SyncOptions interface --- typings/react-native-code-push.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/typings/react-native-code-push.d.ts b/typings/react-native-code-push.d.ts index 7b07da557..bd412d113 100644 --- a/typings/react-native-code-push.d.ts +++ b/typings/react-native-code-push.d.ts @@ -134,7 +134,7 @@ export interface SyncOptions { * value will enable the dialog with the default strings, and passing an object to this parameter allows enabling the dialog as well as * overriding one or more of the default strings. */ - updateDialog?: UpdateDialog; + updateDialog?: UpdateDialog | true; /** * The rollback retry mechanism allows the application to attempt to reinstall an update that was previously rolled back (with the restrictions