import { IParamsFilter } from './interfaces/params.filter.interface' ; export class ParamsFilter implements IParamsFilter { private storage : object = { } ; getParam ( filter ) { return this . storage [ filter ] ; } setParam ( filter , ... params ) { this . storage [ filter ] = params ; return this ; } }