mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-23 14:50:00 +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:
@@ -527,7 +527,7 @@ export class Monster {
|
||||
return true;
|
||||
}
|
||||
static getFullyQualifiedName() {
|
||||
return 'MyGame.Example.Monster';
|
||||
return 'MyGame_Example_Monster';
|
||||
}
|
||||
static startMonster(builder) {
|
||||
builder.startObject(54);
|
||||
|
||||
Reference in New Issue
Block a user