mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-23 22:01:48 +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:
8
tests/flatc/bar/baz/baz_with_ns.fbs
Normal file
8
tests/flatc/bar/baz/baz_with_ns.fbs
Normal file
@@ -0,0 +1,8 @@
|
||||
namespace baz;
|
||||
|
||||
enum Baz : short {
|
||||
None = 0,
|
||||
Red,
|
||||
Green,
|
||||
Blue,
|
||||
}
|
||||
Reference in New Issue
Block a user