mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-01 12:42:58 +08:00
fix x2js/xml2json-tests.ts
This commit is contained in:
@@ -218,8 +218,8 @@ console.log(xmlDocStr);
|
||||
var xmlDocStr = x2js.json2xml_str(
|
||||
{
|
||||
MyRoot: {
|
||||
MyNullChild: null,
|
||||
MyNullChild2: undefined,
|
||||
MyNullChild: <any>null,
|
||||
MyNullChild2: <any>undefined,
|
||||
MyAnotherChild: 10,
|
||||
MyEmptyChild: {
|
||||
_attr: "test"
|
||||
|
||||
Reference in New Issue
Block a user