Skip to content

skipResult

Source Code | Documentation

Set context.result to an empty array or object, depending on the hook type

ts
  import {  } from 'feathers-utils/utils';

Type declaration

ts
/**
 * Set `context.result` to an empty array or object, depending on the hook type
 *
 * @see https://utils.feathersjs.com/utils/skip-result.html
 */
export declare const skipResult: <H extends HookContext = HookContext>(
  context: H,
) => H
ArgumentTypeDescription
contextH

Released under the MIT License.