Looks like here a generic emitter is used when something is received over the socket connection. This bit of code looks handy, but it's not useful as it pertains to types. Seems since this is supposed to be a Typescript superset of the alpacas library, these should be individually typed.
My suggestion is to add overloads the allow types to be had for these emitted values.
Looks like here a generic emitter is used when something is received over the socket connection. This bit of code looks handy, but it's not useful as it pertains to types. Seems since this is supposed to be a Typescript superset of the alpacas library, these should be individually typed.
My suggestion is to add overloads the allow types to be had for these emitted values.