mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-21 06:05:45 +08:00
Better typing for grammars
This commit is contained in:
@@ -3,7 +3,9 @@ import IEntity from "./IEntity.js"
|
||||
|
||||
export default class Integer64Entity extends IEntity {
|
||||
|
||||
static grammar = P.numberBigInteger.map(v => new this(v))
|
||||
static grammar = /** @type {P<Integer64Entity>} */(
|
||||
P.numberBigInteger.map(v => new this(v))
|
||||
)
|
||||
|
||||
/** @type {bigint} */
|
||||
#value
|
||||
|
||||
Reference in New Issue
Block a user