- Replace standard imports with type-only imports to improve clarity and align with TypeScript best practices. - Ensure consistency across modules by modifying all relevant files.
11 lines
465 B
TypeScript
11 lines
465 B
TypeScript
import type { ResponseDecorator } from '../Types/mod.ts';
|
|
import type { IContext } from './IContext.ts';
|
|
import type { IHttpErrorHandlers } from './IHttpErrorHandlers.ts';
|
|
import type { IRouteBuilderFactory } from './IRouteBuilder.ts';
|
|
|
|
export interface IHttpKernelConfig<TContext extends IContext = IContext> {
|
|
decorateResponse: ResponseDecorator<TContext>;
|
|
routeBuilderFactory: IRouteBuilderFactory;
|
|
httpErrorHandlers: IHttpErrorHandlers<TContext>;
|
|
}
|