import * as omit from "ramda/src/omit" ; import { Config , Map } from "../../../types" ; export default function remove ( config , current , record ) { var key = config . key ; var recordKey = record [ key ] ; return omit ( [ recordKey ] , current ) ; }