-
-
Couldn't load subscription status.
- Fork 1.2k
Closed
Labels
area: typescriptTypescript issuesTypescript issueskind: bugSomething isn't workingSomething isn't working
Description
I recently upgraded to the latest v9 beta 34
This line is now throwing a Typescript error:
const [{ y : springY }, setSpringY] = useSpring( () => ( { y: 0 } ) ); const setSpringY: any Type 'AnimatedValue<Pick<object, never>>' must have a '[Symbol.iterator]()' method that returns an iterator.ts(2488) Everything still works as before though.
Maybe related to #723 ?
#642
daphnesmit
Metadata
Metadata
Assignees
Labels
area: typescriptTypescript issuesTypescript issueskind: bugSomething isn't workingSomething isn't working