[@types/alpinejs] Make AlpineComponent
a class
instead of type
#69516
Replies: 2 comments 2 replies
-
Thanks for the discussion about "alpinejs", some useful links for everyone: |
Beta Was this translation helpful? Give feedback.
-
Thanks for bringing this up! So multiple things.
I have a few updates to the types I have planned, and hopefully this week (maybe even weekend) I can get a PR going for them. |
Beta Was this translation helpful? Give feedback.
-
Consider the following scenario:
Here, we can't utilize
AlpineComponent
by any means. If it was a class, we could useextends
and be happy. Currently, we're getting'AlpineComponent' only refers to a type, but is being used as a value here.
error if we use it like:Beta Was this translation helpful? Give feedback.
All reactions