add model for xml-js

This commit is contained in:
Erik Krogh Kristensen
2021-02-04 18:16:19 +01:00
parent 73f7cd149f
commit e2a66bf3ed
3 changed files with 25 additions and 0 deletions

View File

@@ -148,3 +148,4 @@ typeInferenceMismatch
| xml.js:5:18:5:25 | source() | xml.js:8:14:8:17 | text |
| xml.js:12:17:12:24 | source() | xml.js:13:14:13:19 | result |
| xml.js:23:18:23:25 | source() | xml.js:20:14:20:17 | attr |
| xml.js:26:27:26:34 | source() | xml.js:26:10:26:39 | convert ... (), {}) |

View File

@@ -22,4 +22,7 @@
parser.write(source()).close();
var convert = require('xml-js');
sink(convert.xml2json(source(), {})); // NOT OK
})();