mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-26 12:12:39 +00:00
Wrap types in namespace for --ts-flat-files and --gen-all (#7451)
* Wrap types in namespace for --ts-flat-files and --gen-all * Fixes for escaping object types * Added to generate_code
This commit is contained in:
@@ -21,7 +21,7 @@ export class StructOfStructs {
|
||||
return (obj || new Ability()).__init(this.bb_pos + 12, this.bb);
|
||||
}
|
||||
static getFullyQualifiedName() {
|
||||
return 'MyGame.Example.StructOfStructs';
|
||||
return 'MyGame_Example_StructOfStructs';
|
||||
}
|
||||
static sizeOf() {
|
||||
return 20;
|
||||
|
||||
Reference in New Issue
Block a user