Open gunnar-abrahamsson opened 3 years ago
I get a typescript type error when trying to recreate the grid example on animejs https://animejs.com/documentation/#gridStaggering
My working example with ts warnings https://codesandbox.io/s/pensive-wozniak-lv45b?file=/src/App.tsx
My proposed fix
// Change delay: ((el: Element, index?: number, len?: number) => number) | number; // To in react-anime.d.ts delay?: ((el: Element, index?: number, len?: number) => number) | number;
I get a typescript type error when trying to recreate the grid example on animejs https://animejs.com/documentation/#gridStaggering
My working example with ts warnings https://codesandbox.io/s/pensive-wozniak-lv45b?file=/src/App.tsx
My proposed fix