brainly/style-guide

Fix Transition type

coderitual opened this issue · 0 comments

The current type produced for Transition.createEffect is wrong.

Even though createEffect function is typed correctly,
image

its assignment to the Transition component doesn't work as expected and is converted to any
image
CleanShot 2023-01-24 at 10 27 31

cc @bartoszlorek