alit-element
Advanced tools
Comparing version 0.2.0 to 0.2.1
{ | ||
"name": "alit-element", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"description": "A simple wrapper for lit-element with some enhanced functions", | ||
@@ -26,10 +26,10 @@ "main": "dist/alit-element.js", | ||
"dependencies": { | ||
"@polymer/lit-element": "^0.5.1" | ||
"@polymer/lit-element": "^0.5.2" | ||
}, | ||
"devDependencies": { | ||
"@webcomponents/webcomponentsjs": "^2.0.0", | ||
"@webcomponents/webcomponentsjs": "^2.1.1", | ||
"reflect-metadata": "^0.1.12", | ||
"tslint": "^5.10.0", | ||
"typescript": "^2.9.1" | ||
"tslint": "^5.11.0", | ||
"typescript": "^2.9.2" | ||
} | ||
} |
@@ -31,3 +31,3 @@ import 'reflect-metadata'; | ||
if (!this._$[id]) { | ||
const e = this.shadowRoot.querySelector(`#${id}`); | ||
const e = this.shadowRoot!.querySelector(`#${id}`) as HTMLElement; | ||
if (e) { | ||
@@ -45,3 +45,3 @@ this._$[id] = e; | ||
$$(selector: string): HTMLElement { | ||
return this.shadowRoot.querySelector(selector); | ||
return this.shadowRoot!.querySelector(selector) as HTMLElement; | ||
} | ||
@@ -54,3 +54,3 @@ | ||
$$All(selector: string): NodeList { | ||
return this.shadowRoot.querySelectorAll(selector); | ||
return this.shadowRoot!.querySelectorAll(selector); | ||
} | ||
@@ -57,0 +57,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
32043
Updated@polymer/lit-element@^0.5.2