summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorGabriel Nützi <gnuetzi@gmail.com>2019-02-11 21:34:10 +0100
committerWouter van Oortmerssen <aardappel@gmail.com>2019-02-11 21:34:10 +0100
commite1defaae5ea4e18eedde4c51ea82c05b802dc153 (patch)
treea89006761a9bdf9a7a66afb8c455ffcb43d2e9c0 /include
parent78fdce28c7faaa792ea8c7005d0a7a3e8c2de364 (diff)
downloadflatbuffers-e1defaae5ea4e18eedde4c51ea82c05b802dc153.tar.gz
flatbuffers-e1defaae5ea4e18eedde4c51ea82c05b802dc153.tar.bz2
flatbuffers-e1defaae5ea4e18eedde4c51ea82c05b802dc153.zip
Add flag to make short names in JS/TS. (#5152)
* Add flag to make short names in JS/TS. * Synced all missing docs in Compiler.md <-> flatc.cpp. * Review changes.
Diffstat (limited to 'include')
-rw-r--r--include/flatbuffers/idl.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/flatbuffers/idl.h b/include/flatbuffers/idl.h
index 3c318817..cfd8d039 100644
--- a/include/flatbuffers/idl.h
+++ b/include/flatbuffers/idl.h
@@ -425,6 +425,7 @@ struct IDLOptions {
std::string go_import;
std::string go_namespace;
bool reexport_ts_modules;
+ bool js_ts_short_names;
bool protobuf_ascii_alike;
bool size_prefixed;
std::string root_type;
@@ -496,6 +497,7 @@ struct IDLOptions {
binary_schema_builtins(false),
skip_flatbuffers_import(false),
reexport_ts_modules(true),
+ js_ts_short_names(false),
protobuf_ascii_alike(false),
size_prefixed(false),
force_defaults(false),