Skip to content

Commit 91a0e6a

Browse files
committed
fix x2js/xml2json-tests.ts
1 parent d7eda75 commit 91a0e6a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

x2js/xml2json-tests.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -218,8 +218,8 @@ console.log(xmlDocStr);
218218
var xmlDocStr = x2js.json2xml_str(
219219
{
220220
MyRoot: {
221-
MyNullChild: null,
222-
MyNullChild2: undefined,
221+
MyNullChild: <any>null,
222+
MyNullChild2: <any>undefined,
223223
MyAnotherChild: 10,
224224
MyEmptyChild: {
225225
_attr: "test"

0 commit comments

Comments
 (0)