UNPKG

@gabliam/express

Version:
17 lines (16 loc) 483 B
import bodyParser from 'body-parser'; export interface BodyParserConfig { json: boolean; optionsJson?: bodyParser.OptionsJson; urlencoded: boolean; optionsUrlencoded?: bodyParser.OptionsUrlencoded; text: boolean; optionsText?: bodyParser.OptionsText; } export interface ExpressConfig { bodyParser: BodyParserConfig; } export declare class ExpressPluginConfig implements ExpressConfig { bodyParser: BodyParserConfig; restConfig(): ExpressConfig; }