JsDoc types fixed and typecheck activated

This commit is contained in:
barsdeveloper
2022-03-30 21:59:41 +02:00
parent 464a9c068d
commit 90400110e2
33 changed files with 391 additions and 151 deletions

View File

@@ -29,6 +29,24 @@ export default class ObjectEntity extends IEntity {
CustomProperties: [PinEntity],
}
constructor(options = {}) {
super(options)
/** @type {ObjectReferenceEntity} */ this.Class
/** @type {String} */ this.Name
/** @type {Boolean} */ this.bIsPureFunc
/** @type {VariableReferenceEntity} */ this.VariableReference
/** @type {FunctionReferenceEntity} */ this.FunctionReference
/** @type {FunctionReferenceEntity} */ this.EventReference
/** @type {ObjectReferenceEntity} */ this.TargetType
/** @type {IntegerEntity} */ this.NodePosX
/** @type {IntegerEntity} */ this.NodePosY
/** @type {IdentifierEntity} */ this.AdvancedPinDisplay
/** @type {GuidEntity} */ this.NodeGuid
/** @type {IntegerEntity} */ this.ErrorType
/** @type {String} */ this.ErrorMsg
/** @type {PinEntity[]} */ this.CustomProperties
}
/**
* @returns {String}
*/