[TS] Allows object API to set 0 for a null-default scalar. (#7864)

* Fixes bug where null default allows 0 as a value.

* Undoes one bit, adds null type allowance to addField<> default.

* Undoes IDE auto-format of imports.

* Adds generated changes after scripts/generate_code.py

* Removes unused symbol.

* Revert "Removes unused symbol."

This reverts commit 9cece17325.

---------

Co-authored-by: Derek Bailey <derekbailey@google.com>
This commit is contained in:
jviel-beta
2023-09-12 13:58:55 -04:00
committed by GitHub
parent 362dd663f8
commit f625ff3330
4 changed files with 21 additions and 25 deletions

View File

@@ -16,7 +16,7 @@ sh PythonTest.sh
echo "************************ TypeScript:"
python3 TypeScriptTest.py
python3 ts/TypeScriptTest.py
echo "************************ C++:"
@@ -56,4 +56,4 @@ echo "************************ Swift:"
cd FlatBuffers.Test.Swift
sh SwiftTest.sh
cd ..
cd ..