Jakub Boháček
Jakub Boháček
But it doesn't seem to actually fix the problem? Or am I doing something wrong? The generated type is indeed valid TypeScript in the sense that it does compile. But...
Seems I kinda forgot about this PR :sweat_smile: I'm no longer using this library and don't have time to spend on this. So, I'll close this PR, but anybody interested...
I'd like to second this. ```ts export function useAnimatedRef(): RefObjectFunction { const tag = useSharedValue(-1); const ref = useRef(); if (!ref.current) { const fun: RefObjectFunction = ((component) => { //...