Event names work fine but the types for each event is coming as `any`. 