mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-18 16:08:55 +00:00
Generating the most strict TS code possible (#4286)
* Eclipse ignore * TypeScript support * Prefixing enums * Test results * Merged JS and TS generators * Fixed AppVeyor build problems * Fixed more AppVeyor build problems * Fixed more AppVeyor build problems * Changed TS flag to options struct * Storing options by value * Removed unneeded const * Re-export support for unions * Uint support * Casting bools to numbers for mutation * TS shell tests * Reverted generates js test file to original version * Backing up js tests and properly generating test data * Not importing flatbuffers for TS test generation * Not overwriting generated js for tests * AppVeyor test fixes * Generating the most strict TS code possible
This commit is contained in:
committed by
Wouter van Oortmerssen
parent
8b92122f33
commit
86777bd66b
@@ -25,7 +25,7 @@ NamespaceA.TableInFirstNS = function() {
|
||||
/**
|
||||
* @type {flatbuffers.ByteBuffer}
|
||||
*/
|
||||
this.bb = null;
|
||||
this.bb = undefined;
|
||||
|
||||
/**
|
||||
* @type {number}
|
||||
@@ -141,7 +141,7 @@ NamespaceC.TableInC = function() {
|
||||
/**
|
||||
* @type {flatbuffers.ByteBuffer}
|
||||
*/
|
||||
this.bb = null;
|
||||
this.bb = undefined;
|
||||
|
||||
/**
|
||||
* @type {number}
|
||||
@@ -226,7 +226,7 @@ NamespaceA.SecondTableInA = function() {
|
||||
/**
|
||||
* @type {flatbuffers.ByteBuffer}
|
||||
*/
|
||||
this.bb = null;
|
||||
this.bb = undefined;
|
||||
|
||||
/**
|
||||
* @type {number}
|
||||
|
||||
Reference in New Issue
Block a user