mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-21 06:05:45 +08:00
Small refactoring
This commit is contained in:
@@ -16,9 +16,8 @@ export default class IntegerEntity extends NumberEntity {
|
||||
}
|
||||
}
|
||||
|
||||
/** @returns {P<IntegerEntity>} */
|
||||
static createGrammar() {
|
||||
return /** @type {P<IntegerEntity>} */(
|
||||
P.numberInteger.map(v => new this(v))
|
||||
)
|
||||
return P.numberInteger.map(v => new this(v))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user