UNPKG

@teamhive/nestjs-common

Version:

Our common decorators, services, etc for NestJS projects

6 lines (5 loc) 451 B
import { FactoryProvider } from '@nestjs/common'; import { StaticErrorHandlerConfiguration } from '@teamhive/node-common'; export declare type ErrorHandlerConfigurationOptions = StaticErrorHandlerConfiguration; export declare const ErrorHandlerConfigurationToken = "teamhive:nestjs:ErrorHandlerConfigurationToken"; export declare function getErrorHandlerConfigurationProvider(optionsFactory?: () => ErrorHandlerConfigurationOptions): FactoryProvider;