Posts

Showing posts from January, 2022

Module '"react-native"' has no exported member 'VirtualizedList'.ts(2305)

add this @types/react-native/index.d.ts export class VirtualizedList extends React.Component > { scrollToEnd: (params?: { animated?: boolean }) => void; scrollToIndex: ( params: { animated?: boolean; index: number; viewOffset?: number; viewPosition?: number; } ) => void; scrollToItem: ( params: { animated?: boolean; item: ItemT; viewPosition?: number } ) => void; scrollToOffset: (params: { animated?: boolean; offset: number }) => void; recordInteraction: () => void; }