You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
AFAIK typecript now has enough support for things like mixins that it would be reasonable to use with Crafty, if we actually provided type definitions.
It might be possible to generate basic typing information along with our documentation generator.
(Although we'd probably need to manually craft some fancy definitions for things like Crafty.c, since that actually defines a component.) We might have to default to any in a lot of places, but it's least worth a try. (And would provide another incentive to actually standardize and clean up the type information in our docs!)
The text was updated successfully, but these errors were encountered:
AFAIK typecript now has enough support for things like mixins that it would be reasonable to use with Crafty, if we actually provided type definitions.
It might be possible to generate basic typing information along with our documentation generator.
(Although we'd probably need to manually craft some fancy definitions for things like
Crafty.c
, since that actually defines a component.) We might have to default toany
in a lot of places, but it's least worth a try. (And would provide another incentive to actually standardize and clean up the type information in our docs!)The text was updated successfully, but these errors were encountered: