events: remove type check for event type

Strict checking for typeof types broke backwards compatibility for other
libraries. This reverts those checks.