mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-15 09:44:49 +08:00
JSDoc complete type check
This commit is contained in:
@@ -9,6 +9,7 @@ export default class IntegerEntity extends IEntity {
|
||||
/** @param {Object | Number | String} options */
|
||||
constructor(options = 0) {
|
||||
super(options)
|
||||
/** @type {Number} */
|
||||
this.value = Math.round(this.value)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user