Small refactoring

This commit is contained in:
barsdeveloper
2024-09-08 22:28:42 +02:00
parent 2114abef5c
commit 19ef3bd10e
43 changed files with 542 additions and 504 deletions

View File

@@ -25,10 +25,9 @@ export default class Integer64Entity extends IEntity {
this.value = BigInt(value)
}
/** @returns {P<Integer64Entity>} */
static createGrammar() {
return /** @type {P<Integer64Entity>} */(
P.numberBigInteger.map(v => new this(v))
)
return P.numberBigInteger.map(v => new this(v))
}
serialize(