Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in reviewType #315

Open
VaneGaraje opened this issue Aug 5, 2021 · 1 comment
Open

Error in reviewType #315

VaneGaraje opened this issue Aug 5, 2021 · 1 comment

Comments

@VaneGaraje
Copy link

Hello, i have problem in the field reviewType, when assign a value to ios or android i see this error:

Type '"InAppReview"' is not assignable to type 'AppRateReviewTypeIos'.ts(2322)
index.d.ts(64, 9): The expected type comes from property 'ios' which is declared here on type '{ ios?: AppRateReviewTypeIos; android?: AppRateReviewTypeAndroid; }'

Can you help me?

@Epameinondas-Theodoropoulos
  reviewType: {
    ios: AppRateReviewTypeIos.AppStoreReview,
    android: AppRateReviewTypeAndroid.InAppBrowser
  }

this is the right way to declare it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants