Replace nested types by typedefs

This commit is contained in:
Simon Seyock
2021-02-02 18:03:12 +01:00
parent 808868ad1f
commit 7a155a00e7
2 changed files with 15 additions and 7 deletions

View File

@@ -331,11 +331,16 @@
}
}
/**
* @typedef {Object} xmleqlOptions
* @property {boolean} [includeWhiteSpace]
* @property {boolean} [ignoreElementOrder]
*/
/**
* Checks if the XML document sort of equals another XML document.
* @param {Object} obj The other object.
* @param {{includeWhiteSpace: (boolean|undefined),
* ignoreElementOrder: (boolean|undefined)}=} options The options.
* @param {xmleqlOptions} [options] The options.
* @return {expect.Assertion} The assertion.
*/
expect.Assertion.prototype.xmleql = function (obj, options) {