Use 'Element' type instead of 'Node'
This commit is contained in:
@@ -11,7 +11,7 @@ const NAMESPACE_URI = 'http://www.w3.org/1999/xlink';
|
||||
|
||||
|
||||
/**
|
||||
* @param {Node} node Node.
|
||||
* @param {Element} node Node.
|
||||
* @return {string|undefined} href.
|
||||
*/
|
||||
export function readHref(node) {
|
||||
|
||||
Reference in New Issue
Block a user