mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-14 08:26:59 +00:00
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:
@@ -209,7 +209,7 @@ defaultEnum():OptionalByte {
|
||||
return offset ? this.bb!.readInt8(this.bb_pos + offset) : OptionalByte.One;
|
||||
}
|
||||
|
||||
static getFullyQualifiedName():string {
|
||||
static getFullyQualifiedName(): "optional_scalars.ScalarStuff" {
|
||||
return 'optional_scalars.ScalarStuff';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user