mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-05-13 15:27:30 +08:00
JsDoc types fixed and typecheck activated
This commit is contained in:
@@ -7,8 +7,9 @@ import ExecPinTemplate from "../template/ExecPinTemplate"
|
||||
import StringPinTemplate from "../template/StringPinTemplate"
|
||||
|
||||
/**
|
||||
* @typedef {import("./NodeElement").default} NodeElement
|
||||
* @typedef {import("../entity/GuidEntity").default} GuidEntity
|
||||
* @typedef {import("../entity/PinEntity").default} PinEntity
|
||||
* @typedef {import("./NodeElement").default} NodeElement
|
||||
*/
|
||||
export default class PinElement extends IElement {
|
||||
|
||||
@@ -34,7 +35,7 @@ export default class PinElement extends IElement {
|
||||
new (PinElement.#typeTemplateMap[entity.getType()] ?? PinTemplate)()
|
||||
)
|
||||
|
||||
/** @type {import("../entity/PinEntity").default} */
|
||||
/** @type {PinEntity} */
|
||||
this.entity
|
||||
|
||||
/** @type {PinTemplate} */
|
||||
|
||||
Reference in New Issue
Block a user