diff options
author | Wouter van Oortmerssen <aardappel@gmail.com> | 2017-05-10 13:25:51 -0700 |
---|---|---|
committer | Wouter van Oortmerssen <aardappel@gmail.com> | 2017-05-10 13:25:51 -0700 |
commit | a0a313b10173b424a156a81b64f7846154b2c666 (patch) | |
tree | 824b3a7dc4db533dd537218ee96cc0d65b3cd994 /tests/monster_test_generated.js | |
parent | 93c0960c3abdd5f3f7cdc9c4981732fde7be5e4e (diff) | |
download | flatbuffers-a0a313b10173b424a156a81b64f7846154b2c666.tar.gz flatbuffers-a0a313b10173b424a156a81b64f7846154b2c666.tar.bz2 flatbuffers-a0a313b10173b424a156a81b64f7846154b2c666.zip |
Added missing js/ts generated code.
Change-Id: I146e9e1b8f997c11d1675dbef1b958ddbd181092
Diffstat (limited to 'tests/monster_test_generated.js')
-rw-r--r-- | tests/monster_test_generated.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/monster_test_generated.js b/tests/monster_test_generated.js index b49af0ee..669669a4 100644 --- a/tests/monster_test_generated.js +++ b/tests/monster_test_generated.js @@ -398,7 +398,7 @@ MyGame.Example.Vec3.prototype.mutate_test2 = function(value) { /** * @param {MyGame.Example.Test=} obj - * @returns {MyGame.Example.Test} + * @returns {MyGame.Example.Test|null} */ MyGame.Example.Vec3.prototype.test3 = function(obj) { return (obj || new MyGame.Example.Test).__init(this.bb_pos + 26, this.bb); @@ -692,7 +692,7 @@ MyGame.Example.Monster.bufferHasIdentifier = function(bb) { /** * @param {MyGame.Example.Vec3=} obj - * @returns {MyGame.Example.Vec3} + * @returns {MyGame.Example.Vec3|null} */ MyGame.Example.Monster.prototype.pos = function(obj) { var offset = this.bb.__offset(this.bb_pos, 4); @@ -893,7 +893,7 @@ MyGame.Example.Monster.prototype.testarrayoftablesLength = function() { /** * @param {MyGame.Example.Monster=} obj - * @returns {MyGame.Example.Monster} + * @returns {MyGame.Example.Monster|null} */ MyGame.Example.Monster.prototype.enemy = function(obj) { var offset = this.bb.__offset(this.bb_pos, 28); @@ -927,7 +927,7 @@ MyGame.Example.Monster.prototype.testnestedflatbufferArray = function() { /** * @param {MyGame.Example.Stat=} obj - * @returns {MyGame.Example.Stat} + * @returns {MyGame.Example.Stat|null} */ MyGame.Example.Monster.prototype.testempty = function(obj) { var offset = this.bb.__offset(this.bb_pos, 32); |