mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-20 23:57:32 +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:
@@ -41,7 +41,7 @@ mutate_color(value:Color):boolean {
|
||||
return true;
|
||||
}
|
||||
|
||||
static getFullyQualifiedName():string {
|
||||
static getFullyQualifiedName(): "MyGame.Example.TestSimpleTableWithEnum" {
|
||||
return 'MyGame.Example.TestSimpleTableWithEnum';
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user