message: PanelHeaderContext: removed redundant AnimationHandler type
diff: @@ -15,8 +15,6 @@ export interface PanelHeaderContextState {
  closing: boolean;
  }
  -type AnimationHandler = () => void;
  -
  class PanelHeaderContext extends Component<PanelHeaderContextProps, PanelHeaderContextState> {
  static defaultProps: Partial<PanelHeaderContextProps> = {
  opened: false,
  @@ -37,7 +35,7 @@ class PanelHeaderContext extends Component<PanelHeaderContextProps, PanelHeaderC
  }
  }
  - waitAnimationFinish(eventHandler: AnimationHandler) {
  + waitAnimationFinish(eventHandler: VoidFunction) {
  const eventName = transitionEvents.animationEndEventName;
  const element = this.elementRef.current;
  @@ -47,7 +45,7 @@ class PanelHeaderContext extends Component<PanelHeaderContextProps, PanelHeaderC
  }
  }
  - onAnimationFinish: AnimationHandler = () => {
  + onAnimationFinish: VoidFunction = () => {
  this.setState({ closing: false });
  };
  