chore: Update app-rate types (#3680)

This commit is contained in:
jcesarmobile
2021-06-09 10:09:26 +02:00
committed by GitHub
parent 21e8811ea9
commit 7736ca7747
+1 -11
View File
@@ -89,16 +89,6 @@ export interface AppRatePreferences {
*/
showPromptForInAppReview?: boolean;
/**
* leave app or no when application page opened in app store (now supported only for iOS). Defaults to `false`
*/
inAppReview?: boolean;
/**
* use custom view for rate dialog. Defaults to `false`
*/
useCustomRateDialog?: boolean;
/**
* Custom locale object
*/
@@ -158,7 +148,7 @@ export interface AppRateCustomLocale {
export interface AppRateLocales {
addLocale(localeObject: AppRateCustomLocale): AppRateCustomLocale;
getLocale(language: string, applicationTitle?: string, customLocale?: AppRateCustomLocale);
getLocale(language: string, applicationTitle?: string, customLocale?: AppRateCustomLocale): AppRateCustomLocale;
getLocalesNames(): { [prop: string]: AppRateCustomLocale };
}