You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Gives an TypeScript error:
TS2430: Interface FlashListProps incorrectly extends interface ScrollViewProps
Types of property contentContainerStyle are incompatible.
Type ContentStyle | undefined is not assignable to type StyleProp
Type ContentStyle is not assignable to type StyleProp
Type ContentStyle is not assignable to type ViewStyle
Types of property padding are incompatible.
Type string | number | undefined is not assignable to type DimensionValue | undefined
Type string is not assignable to type DimensionValue | undefined
Expected behavior
Should not give an error
To Reproduce
Install and run TypeScript check
Platform:
iOS
Android
Environment
1.5.0
The text was updated successfully, but these errors were encountered:
Current behavior
Gives an TypeScript error:
TS2430: Interface FlashListProps incorrectly extends interface ScrollViewProps
Types of property contentContainerStyle are incompatible.
Type ContentStyle | undefined is not assignable to type StyleProp
Type ContentStyle is not assignable to type StyleProp
Type ContentStyle is not assignable to type ViewStyle
Types of property padding are incompatible.
Type string | number | undefined is not assignable to type DimensionValue | undefined
Type string is not assignable to type DimensionValue | undefined
Expected behavior
Should not give an error
To Reproduce
Install and run TypeScript check
Platform:
Environment
1.5.0
The text was updated successfully, but these errors were encountered: