forked from BigfootDev/flatbuffers
Update ts codegen (#8421)
Makes the return type of `static getFullyQualifiedName()` be a string literal instead of just the string type Update tests Co-authored-by: Björn Harrtell <bjornharrtell@users.noreply.github.com>
This commit is contained in:
@@ -40,7 +40,7 @@ mutate_sword_attack_damage(value:number):boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
static getFullyQualifiedName():string {
|
||||
static getFullyQualifiedName(): "Attacker" {
|
||||
return 'Attacker';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user