Moved TypeScriptTests to python script (#7411)

* Moved TypeScriptTests to python script

* fixed CI issue with out-dated generated file

* Build flatc for TS CI

* reverting yarn.lock
This commit is contained in:
Derek Bailey
2022-08-07 11:42:02 -07:00
committed by GitHub
parent 468c00a3fe
commit ee2ced236d
10 changed files with 137 additions and 50 deletions

View File

@@ -92,6 +92,7 @@ export class Vec3T {
this.test3 = test3;
}
pack(builder) {
return Vec3.createVec3(builder, this.x, this.y, this.z, this.test1, this.test2, (this.test3 === null ? 0 : this.test3.a), (this.test3 === null ? 0 : this.test3.b));
var _a, _b, _c, _d;
return Vec3.createVec3(builder, this.x, this.y, this.z, this.test1, this.test2, ((_b = (_a = this.test3) === null || _a === void 0 ? void 0 : _a.a) !== null && _b !== void 0 ? _b : 0), ((_d = (_c = this.test3) === null || _c === void 0 ? void 0 : _c.b) !== null && _d !== void 0 ? _d : 0));
}
}