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

add this @types/react-native/index.d.ts export class VirtualizedList extends React.Component< VirtualizedListProps > { 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; }

Comments

Popular posts from this blog

Error [ERR_UNSUPPORTED_ESM_URL_SCHEME]: Only file and data URLs are supported by the default ESM loader.