mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-22 14:54:43 +08:00
JsDoc types fixed and typecheck activated
This commit is contained in:
@@ -8,7 +8,10 @@ export default class IntegerEntity extends IEntity {
|
||||
value: Number,
|
||||
}
|
||||
|
||||
constructor(options = {}) {
|
||||
/**
|
||||
* @param {Object | Number | String} options
|
||||
*/
|
||||
constructor(options = 0) {
|
||||
if (options.constructor == Number || options.constructor == String) {
|
||||
options = {
|
||||
value: options,
|
||||
|
||||
Reference in New Issue
Block a user