Files
headlessui/packages
BrandonGoren 5ca68a9c95 Update react types to avoid unbound method lint errors (#3480)
Using @headlessui close methods/types in a project with
eslint-typescript currently causes "UnboundMethod" errors because we're
using class member syntax to define the functions.

I tweaked the declarations here to use arrow syntax in few places. The
behavior should be unchanged, but we are no longer implying the
existence of a "this"
2024-09-23 13:40:18 +02:00
..