mirror of
https://github.com/barsdeveloper/ueblueprint.git
synced 2026-02-15 09:44:49 +08:00
Better typing for grammars
This commit is contained in:
@@ -4,7 +4,7 @@ import Vector4DEntity from "./Vector4DEntity.js"
|
||||
|
||||
export default class SimpleSerializationVector4DEntity extends Vector4DEntity {
|
||||
|
||||
static grammar = this.createGrammar()
|
||||
static grammar = /** @type {P<SimpleSerializationVector4DEntity> } */(this.createGrammar())
|
||||
|
||||
static createGrammar() {
|
||||
const number = Grammar.numberRegexSource
|
||||
|
||||
Reference in New Issue
Block a user