JSDoc complete type check

This commit is contained in:
barsdeveloper
2022-10-09 11:43:28 +02:00
parent 91e1e0885e
commit cdc5e5b91b
68 changed files with 1603 additions and 648 deletions

View File

@@ -13,6 +13,7 @@ import { LitElement } from "lit"
*/
export default class IElement extends LitElement {
/** @type {import("lit").PropertyDeclarations} */
static properties = {
}
@@ -24,7 +25,7 @@ export default class IElement extends LitElement {
return this.#blueprint
}
set blueprint(v) {
return this.#blueprint = v
this.#blueprint = v
}
/** @type {T} */
@@ -63,7 +64,7 @@ export default class IElement extends LitElement {
connectedCallback() {
super.connectedCallback()
this.blueprint = this.closest("ueb-blueprint")
this.blueprint = /** @type {Blueprint} */ this.closest("ueb-blueprint")
this.template.connectedCallback()
}