import React from 'react' interface SetOptionListInterface { (optionList: Record): any } interface SetArgumentListInterface { (argumentList: Record): any } export interface ContextInterface { optionList: Record, setOptionList: SetOptionListInterface argumentList: Record, setArgumentList: SetArgumentListInterface, } const Context = React.createContext({} as ContextInterface) export const Provider = Context.Provider export default Context