mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-04 08:28:17 +08:00
Small refactoring
This commit is contained in:
@@ -15,10 +15,9 @@ export default class ByteEntity extends IntegerEntity {
|
||||
}
|
||||
}
|
||||
|
||||
/** @returns {P<ByteEntity>} */
|
||||
createGrammar() {
|
||||
return /** @type {P<ByteEntity>} */(
|
||||
// @ts-expect-error
|
||||
P.numberByte.map(v => new this(v))
|
||||
)
|
||||
// @ts-expect-error
|
||||
return P.numberByte.map(v => new this(v))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user