mirror of
https://github.com/denoland/deno.git
synced 2025-08-01 09:32:28 +00:00
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:
parent
51dc46eff4
commit
f774953011
21 changed files with 204 additions and 204 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue