@gabliam/express
Version:
Gabliam plugin for add express
17 lines (16 loc) • 483 B
TypeScript
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;
}