UNPKG

kobp

Version:
15 lines (14 loc) 490 B
import type { KobpCustomization } from '../bootstrap'; import type { KobpModule, PrintFn } from '..'; import bodyParser from 'koa-bodyparser'; export interface BootstrapModuleOption { loggyPrintFn?: PrintFn; } export declare class BootstrapModule implements KobpModule { private bodyParserOptions; constructor(opts?: string[] | (() => bodyParser.Options)); /** * Override this function to provide the customized module */ customization(): KobpCustomization; }