Closed Nokel81 closed 2 years ago
It seems strange that eventNames would be the only function to use | sting | symbol. Given that typescript now supports symbols as keys this would be backwards-compatible
eventNames
| sting | symbol
Hey @Nokel81, thanks for looking into this!
I had to read into it again, too, but as it turns out, we added this quirk to mitigate type incompatibilities. See #5.
Thanks, I guess I will just do the cast.
It seems strange that
eventNames
would be the only function to use| sting | symbol
. Given that typescript now supports symbols as keys this would be backwards-compatible