Skip to content

Commit

Permalink
Fix xmldom compatibility (#794)
Browse files Browse the repository at this point in the history
**Public API Changes**
Extend element typing

**Description**
Element can also be null since `@xmldom/[email protected]` (See xmldom/xmldom#721) 

Fixes #778
  • Loading branch information
MatthijsBurgh authored Sep 25, 2024
1 parent ecd5c82 commit 5ac00b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/urdf/UrdfModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export default class UrdfModel {
joints = {};
/**
* @param {Object} options
* @param {Element} [options.xml] - The XML element to parse.
* @param {Element | null} [options.xml] - The XML element to parse.
* @param {string} [options.string] - The XML element to parse as a string.
*/
constructor(options) {
Expand Down

0 comments on commit 5ac00b0

Please sign in to comment.