mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-03-30 18:24:26 +00:00
24 lines
724 B
TypeScript
24 lines
724 B
TypeScript
// Type definitions for express-xml-bodyparser 0.3
|
|
// Project: https://github.com/macedigital/express-xml-bodyparser
|
|
// Definitions by: Notice Maker <https://github.com/noticeMaker>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
// TypeScript Version: 2.3
|
|
|
|
import { Request, Response, NextFunction } from 'express';
|
|
|
|
declare function xmlparser(options?: xmlparser.XmlparserOptions): (req: Request, res: Response, next: NextFunction) => void;
|
|
|
|
declare namespace xmlparser {
|
|
let regexp: RegExp;
|
|
|
|
interface XmlparserOptions {
|
|
async?: boolean;
|
|
explicitArray?: boolean;
|
|
normalize?: boolean;
|
|
normalizeTags?: boolean;
|
|
trim?: boolean;
|
|
}
|
|
}
|
|
|
|
export = xmlparser;
|