mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-04 14:27:29 +08:00
Small refactoring
This commit is contained in:
@@ -10,10 +10,9 @@ export default class ColorChannelEntity extends IEntity {
|
||||
this.value = value
|
||||
}
|
||||
|
||||
/** @returns {P<ColorChannelEntity>} */
|
||||
static createGrammar() {
|
||||
return /** @type {P<ColorChannelEntity>} */(
|
||||
P.number.map(v => new this(v))
|
||||
)
|
||||
return P.number.map(v => new this(v))
|
||||
}
|
||||
|
||||
serialize(
|
||||
|
||||
Reference in New Issue
Block a user