这是我代码中的常见事件。我知道调用什么类型的onChange事件。
private onChange = (e: React.ChangeEvent<HTMLInputElement>) => {
...
};
但是传递给此事件侦听器的事件有什么类型?
// Since blur is asynchronous in IE11 we can't guarantee that a change
// will be saved onBlur when changing component model. The IE exclusive
// `deactivate` event triggers before any other click handlers.
this.inputRef.current!.addEventListener('deactivate', this.onDeactivate);
private onDeactivate = (e: any) => {
...
};