alexbrillant / react-native-deck-swiper

tinder like react-native deck swiper

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add onSwiping?: (x: number, y: number) => void; in the decleration file(index.d.ts)

BJSam opened this issue · comments

commented

in my code when i use onSwiping i was getting an error. so i added onSwiping?: (x: number, y: number) => void; to the index.d.ts file in node_modules and its working fine. BTW where is index.d.ts file in your repo. How you are creating it???