Closed Maximaximum closed 3 years ago
@Maximaximum feel free to create a PR covering this change. 👍
Ops, you already did :D thanks!
@marcj thank you. Could you please give a hint regarding when you plan to reslease a new version containing this change?
This is not a huge issue, but it would be just a little bit more convenient if the library also exported a
Size
type within its typings:instead of just
The issue is that the type of the
ResizeSensorCallback
argument sometimes has to be specified explicitly, so this minor change would help to avoid retyping{ width: number; height: number; }
in such cases