mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-16 17:22:21 +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:
@@ -49,7 +49,7 @@ export class Vec3 {
|
||||
return (obj || new Test()).__init(this.bb_pos + 26, this.bb);
|
||||
}
|
||||
static getFullyQualifiedName() {
|
||||
return 'MyGame.Example.Vec3';
|
||||
return 'MyGame_Example_Vec3';
|
||||
}
|
||||
static sizeOf() {
|
||||
return 32;
|
||||
|
||||
Reference in New Issue
Block a user