mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-28 03:24:43 +08:00
JSDoc complete type check
This commit is contained in:
@@ -7,4 +7,11 @@ export default class RotatorEntity extends IEntity {
|
||||
P: Number,
|
||||
Y: Number,
|
||||
}
|
||||
|
||||
constructor(values = {}) {
|
||||
super(values)
|
||||
/** @type {Number} */ this.R
|
||||
/** @type {Number} */ this.P
|
||||
/** @type {Number} */ this.Y
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user