node-html-parser 1.2.19 → 1.2.20
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/nodes/html.d.ts +1 -1
- package/package.json +1 -1
package/dist/nodes/html.d.ts
CHANGED
|
@@ -134,7 +134,7 @@ export default class HTMLElement extends Node {
|
|
|
134
134
|
* Get an attribute
|
|
135
135
|
* @return {string} value of the attribute
|
|
136
136
|
*/
|
|
137
|
-
getAttribute(key: string): string;
|
|
137
|
+
getAttribute(key: string): string | undefined;
|
|
138
138
|
/**
|
|
139
139
|
* Set an attribute value to the HTMLElement
|
|
140
140
|
* @param {string} key The attribute name
|
package/package.json
CHANGED