FezVrasta / ama

Ask Me Anything
15 stars 3 forks source link

on popup-core related types #11

Closed xkx9431 closed 3 years ago

xkx9431 commented 3 years ago

Hi @FezVrasta, I just looking your popup-core code, and I not familiar with the flow types. I see many place you using the $Shape<State> and I want know what the function of this $Shape works?
is it something like Partial in typescript?

thanks a lot, and I really learned a lot from your popper.

FezVrasta commented 3 years ago

Hi, yes $Shape is just like Partial