mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-03-07 08:07:29 +08:00
Better typing for grammars
This commit is contained in:
@@ -92,8 +92,9 @@ export default class PinEntity extends IEntity {
|
||||
bAdvancedView: BooleanEntity.withDefault(),
|
||||
bOrphanedPin: BooleanEntity.withDefault(),
|
||||
}
|
||||
/** @type {P<PinEntity>} */
|
||||
static grammar = Grammar.createEntityGrammar(this)
|
||||
static grammar = /** @type {P<PinEntity>} */(
|
||||
Grammar.createEntityGrammar(this)
|
||||
)
|
||||
|
||||
#recomputesNodeTitleOnChange = false
|
||||
set recomputesNodeTitleOnChange(value) {
|
||||
|
||||
Reference in New Issue
Block a user