add onSwiping?: (x: number, y: number) => void; in the decleration file(index.d.ts)
BJSam opened this issue · comments
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???