Turn back on no-null-keyword. Use empty object instead of null to signal to the xml library that an empty element should be produced. Update the related tests.

Related to #306
This commit is contained in:
Bruce Duncan
2019-04-10 01:28:37 -04:00
parent 816cb54b14
commit bb1604cd8f
17 changed files with 72 additions and 71 deletions

View File

@ -156,12 +156,12 @@ describe("Image", () => {
},
},
{
"a:srcRect": null,
"a:srcRect": {},
},
{
"a:stretch": [
{
"a:fillRect": null,
"a:fillRect": {},
},
],
},
@ -202,7 +202,7 @@ describe("Image", () => {
},
},
{
"a:avLst": null,
"a:avLst": {},
},
],
},