Rename flatbuffer base.msg to base.inner

This better disambiguates with the msg_generated.ts module, which in JS
we call "fbs", but would be better called "msg".
This commit is contained in:
Ryan Dahl 2018-10-03 21:12:23 -04:00
parent 51dc46eff4
commit f774953011
21 changed files with 204 additions and 204 deletions

View file

@ -14,9 +14,9 @@ function sendStart(): fbs.StartRes {
const startOffset = fbs.Start.endStart(builder);
const baseRes = sendSync(builder, fbs.Any.Start, startOffset);
assert(baseRes != null);
assert(fbs.Any.StartRes === baseRes!.msgType());
assert(fbs.Any.StartRes === baseRes!.innerType());
const startRes = new fbs.StartRes();
assert(baseRes!.msg(startRes) != null);
assert(baseRes!.inner(startRes) != null);
return startRes;
}