message: use VoidFunction type
diff: import { createContext } from 'react';
  export interface ModalRootContextInterface {
  - updateModalHeight: () => void;
  - onClose?: () => void;
  + updateModalHeight: VoidFunction;
  + onClose?: VoidFunction;
  isInsideModal: boolean;
  }
  