mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-01 19:45:48 +08:00
Merge pull request #26318 from claasahl/master
[xml2js] Added "value" parameter to "valueProcessors" and "attrValueProcessors"
This commit is contained in:
5
types/xml2js/index.d.ts
vendored
5
types/xml2js/index.d.ts
vendored
@@ -5,6 +5,7 @@
|
||||
// Christopher Currens <https://github.com/ccurrens>
|
||||
// Edward Hinkle <https://github.com/edwardhinkle>
|
||||
// Behind The Math <https://github.com/BehindTheMath>
|
||||
// Claas Ahlrichs <https://github.com/claasahl>
|
||||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
||||
|
||||
/// <reference types="node"/>
|
||||
@@ -34,7 +35,7 @@ export interface Options {
|
||||
async?: boolean;
|
||||
attrkey?: string;
|
||||
attrNameProcessors?: Array<(name: string) => any>;
|
||||
attrValueProcessors?: Array<(name: string) => any>;
|
||||
attrValueProcessors?: Array<(value: string, name: string) => any>;
|
||||
charkey?: string;
|
||||
charsAsChildren?: boolean;
|
||||
childkey?: string;
|
||||
@@ -52,7 +53,7 @@ export interface Options {
|
||||
tagNameProcessors?: Array<(name: string) => any>;
|
||||
trim?: boolean;
|
||||
validator?: Function;
|
||||
valueProcessors?: Array<(name: string) => any>;
|
||||
valueProcessors?: Array<(value: string, name: string) => any>;
|
||||
xmlns?: boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user