-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Interface 'IconProps' incorrectly extends interface 'TouchableOpacityProps' #2888
Comments
@Tyrn I'm not able to reproduce this in a freshly ignited app. Can you provide a link to a minimal reproduction app? |
As you can guess, I'm struggling with the IgniteTrivia sample project, trying to recreate it from scratch. I dutifully saved the
This way I created the project again; no error. Next step, I deleted the problematic project locally, then recreated it from my GitHub repo. No errors. Then
The app shows on my connected phone, everything's fine... And then the subject error. Fascinating, with the splash screen on my phone, the error in my editor window appears. |
Use this updated code: interface IconProps extends Omit<TouchableOpacityProps, "style"> {
/**
/**
/**
/**
/**
|
Thank you very much! Could you explain the nature of the update?
NB The
|
The update in this TypeScript interface is related to the extension of What Changed?
Why This Change?
Final Behavior
|
Describe the bug
This is a typescript error on line 16 of file
src/components/Icon.tsx
.The property in question is probably
The error message:
I never touched this file.
Ignite version
release
Additional info
The text was updated successfully, but these errors were encountered: