rule-filter-validator
Version:
A object and scope validator based on structured rules
11 lines (10 loc) • 326 B
TypeScript
import type { Filter } from './types';
/**
*
* @param filter Filter
* @param field string name of field to remove
* @param filterPath (optional)
* @param _history (private)
* @returns
*/
export declare function removeFieldFromFilter(filter: Filter, field: string, filterPath?: string, _history?: string): Filter | any;