cd06ae20e8
The code removed in the PR was flagged as unused by the JetBrains inspector. I did a QA on the dev environment but other checks are highly recommended. There is one commit by scope to make the review easier. --------- Co-authored-by: Charles Bochet <charles@twenty.com>
15 lines
383 B
TypeScript
15 lines
383 B
TypeScript
import { ConfigurableModuleBuilder } from '@nestjs/common';
|
|
|
|
import { ExceptionHandlerModuleOptions } from './interfaces';
|
|
|
|
export const {
|
|
ConfigurableModuleClass,
|
|
MODULE_OPTIONS_TOKEN,
|
|
OPTIONS_TYPE,
|
|
ASYNC_OPTIONS_TYPE,
|
|
} = new ConfigurableModuleBuilder<ExceptionHandlerModuleOptions>({
|
|
moduleName: 'ExceptionHandlerModule',
|
|
})
|
|
.setClassMethodName('forRoot')
|
|
.build();
|