mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-02 04:04:19 +00:00
[TS] Make strict compliant and improve typings (#7549)
* [TS] Make strict compliant and improve typings * clang-format * Code gen harmonize Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
@@ -61,7 +61,7 @@ check_call(["npm", "install", "--silent"])
|
||||
|
||||
print("Invoking flatc...")
|
||||
flatc(
|
||||
options=["--ts", "--gen-name-strings", "--gen-mutable", "--gen-object-api"],
|
||||
options=["--ts", "--reflect-names", "--gen-name-strings", "--gen-mutable", "--gen-object-api"],
|
||||
schema="../monster_test.fbs",
|
||||
include="../include_test",
|
||||
)
|
||||
@@ -74,18 +74,18 @@ flatc(
|
||||
)
|
||||
|
||||
flatc(
|
||||
options=["--ts", "--gen-name-strings", "--gen-mutable", "--gen-object-api"],
|
||||
options=["--ts", "--reflect-names", "--gen-name-strings", "--gen-mutable", "--gen-object-api"],
|
||||
schema="../union_vector/union_vector.fbs",
|
||||
prefix="union_vector",
|
||||
)
|
||||
|
||||
flatc(
|
||||
options=["--ts", "--gen-name-strings"],
|
||||
options=["--ts", "--reflect-names", "--gen-name-strings"],
|
||||
schema="../optional_scalars.fbs",
|
||||
)
|
||||
|
||||
flatc(
|
||||
options=["--ts", "--gen-name-strings", "--gen-mutable", "--gen-object-api"],
|
||||
options=["--ts", "--reflect-names", "--gen-name-strings", "--gen-mutable", "--gen-object-api"],
|
||||
schema=[
|
||||
"typescript_keywords.fbs",
|
||||
"test_dir/typescript_include.fbs",
|
||||
@@ -98,6 +98,7 @@ flatc(
|
||||
flatc(
|
||||
options=[
|
||||
"--ts",
|
||||
"--reflect-names",
|
||||
"--gen-name-strings",
|
||||
"--gen-mutable",
|
||||
"--gen-object-api",
|
||||
|
||||
Reference in New Issue
Block a user