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
And we also have an event handler that listens to all animals adding event
constANIMALS=['fish','cat']asconst;functionanimalAddingHandler(a: Animal){}ANIMALS.forEach(a=>ee.on(a+'.ADD',animalAddingHandler));// Argument of type 'string' is not assignable to parameter of type '"fish.ADD" | "cat.ADD"'.(2345)
No description provided.
The text was updated successfully, but these errors were encountered: