mirror of
https://github.com/vee1e/flatbuffers.git
synced 2026-09-01 17:57:25 +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:
parent
f7c511957f
commit
82b75407a3
48 changed files with 2152 additions and 256 deletions
|
|
@ -245,6 +245,14 @@ flatc(
|
|||
schema="monster_test.fbs",
|
||||
)
|
||||
|
||||
# Generate the complete flat file TS of monster.
|
||||
flatc(
|
||||
["--ts", "--gen-all", "--ts-flat-files"],
|
||||
include="include_test",
|
||||
schema="monster_test.fbs",
|
||||
prefix="ts/ts-flat-files"
|
||||
)
|
||||
|
||||
flatc(
|
||||
BASE_OPTS + TS_OPTS + ["-b"],
|
||||
include="include_test",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue