diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2018-10-03 21:12:23 -0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2018-10-04 00:25:55 -0400 |
commit | f774953011cb3ad85914bc9f5f66aa121f00528d (patch) | |
tree | e2943c332cd4d2af1fbbabf2e9b3ed879978b746 /js/main.ts | |
parent | 51dc46eff4a122543f4a290c00fa29e3b272f70f (diff) |
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".
Diffstat (limited to 'js/main.ts')
-rw-r--r-- | js/main.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/js/main.ts b/js/main.ts index 63d72e87f..19e82c9d7 100644 --- a/js/main.ts +++ b/js/main.ts @@ -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; } |