mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:50:33 +08:00
JSDoc complete type check
This commit is contained in:
@@ -7,4 +7,11 @@ export default class VectorEntity extends IEntity {
|
||||
Y: Number,
|
||||
Z: Number,
|
||||
}
|
||||
|
||||
constructor(options = {}) {
|
||||
super(options)
|
||||
/** @type {Number} */ this.X
|
||||
/** @type {Number} */ this.Y
|
||||
/** @type {Number} */ this.Z
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user