xml functions
This commit is contained in:
parent
8f988cf2ac
commit
9865126cab
16
index.d.ts
vendored
16
index.d.ts
vendored
@ -367,6 +367,22 @@ export interface HookContext extends GetHookData, GetHookGetOnlyData, PostHookDa
|
||||
* @param path
|
||||
*/
|
||||
fsMkDir(path: string): void
|
||||
|
||||
/**
|
||||
* create xml string
|
||||
*
|
||||
* @param data object or array
|
||||
* @param options options
|
||||
*/
|
||||
xmlCreate(data: any, options?: {}): string
|
||||
|
||||
/**
|
||||
* parse xml string to json
|
||||
*
|
||||
* @param xml xml string
|
||||
* @param options options
|
||||
*/
|
||||
xmlParse(xml:string, options?: {}): any
|
||||
}
|
||||
|
||||
export interface HookException {
|
||||
|
Loading…
Reference in New Issue
Block a user