import { NgTableParams } from '../ngTableParams'; /** * A custom object that can be registered with an {@link NgTableParams} instance that can be used * to post-process the results (and failures) returned by its `getData` function */ export interface IInterceptor { response?: (data: TData, params: NgTableParams) => TData; responseError?: (reason: any, params: NgTableParams) => any; }