@qualweb/qw-element
Advanced tools
Comparing version 0.1.7 to 0.1.8
{ | ||
"name": "@qualweb/qw-element", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Utilities module for qualweb", | ||
@@ -31,10 +31,10 @@ "main": "dist/index.js", | ||
"devDependencies": { | ||
"@qualweb/types": "^0.4.12", | ||
"@types/node": "^14.0.5", | ||
"@qualweb/types": "^0.4.20", | ||
"@types/node": "^14.0.14", | ||
"chai": "^4.2.0", | ||
"esm": "^3.2.25", | ||
"mocha": "^7.2.0", | ||
"typescript": "^3.9.3" | ||
"mocha": "^8.0.1", | ||
"typescript": "^3.9.6" | ||
}, | ||
"dependencies": {} | ||
} |
@@ -19,3 +19,3 @@ 'use strict'; | ||
public elementHasAttribute(attribute: string) { | ||
public elementHasAttribute(attribute: string): boolean { | ||
return this.element.getAttributeNames().includes(attribute); | ||
@@ -22,0 +22,0 @@ } |
Sorry, the diff of this file is not supported yet
29134