interface CustomEventInit implements EventInitType ParametersoptionalT = anyPropertiesoptionaldetail: T