Skip to content

Commit 074f011

Browse files
authored
Merge pull request #4810 from GeekyAnts/fix/flatlist-typing
fix: flatlist typing
2 parents 0f237af + 21f5fb3 commit 074f011

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/basic/FlatList/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ export interface InterfaceFlatListProps<ItemT>
99
/**
1010
* pass props to contentContainerStyle, and this also resolved NB tokens.
1111
*/
12-
_contentContainerStyle?: IFlatListProps<ItemT>;
12+
_contentContainerStyle?: Partial<IFlatListProps<ItemT>>;
1313
}
1414

1515
export type IFlatListProps<ItemT> =

src/components/basic/ScrollView/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface InterfaceScrollViewProps
1212
/**
1313
* pass props to contentContainerStyle, and this also resolved NB tokens.
1414
*/
15-
_contentContainerStyle?: IScrollViewProps;
15+
_contentContainerStyle?: Partial<IScrollViewProps>;
1616
}
1717

1818
export type IScrollViewProps =

0 commit comments

Comments
 (0)