Skip to content

skipResult

Source Code | Documentation

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

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

Type declaration

ts
/**
 * Set `context.result` to an empty array or object, depending on the hook type
 */
export declare const skipResult: <H extends HookContext = HookContext>(
  context: H,
) => H
ArgumentTypeDescription
contextH

Released under the MIT License.