Skip to content

Commit 5ac00b0

Browse files
Fix xmldom compatibility (#794)
**Public API Changes** Extend element typing **Description** Element can also be null since `@xmldom/[email protected]` (See xmldom/xmldom#721) Fixes #778
1 parent ecd5c82 commit 5ac00b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/urdf/UrdfModel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default class UrdfModel {
2121
joints = {};
2222
/**
2323
* @param {Object} options
24-
* @param {Element} [options.xml] - The XML element to parse.
24+
* @param {Element | null} [options.xml] - The XML element to parse.
2525
* @param {string} [options.string] - The XML element to parse as a string.
2626
*/
2727
constructor(options) {

0 commit comments

Comments
 (0)