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/make_temp_dir.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/make_temp_dir.ts')
-rw-r--r-- | js/make_temp_dir.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/make_temp_dir.ts b/js/make_temp_dir.ts index b252be381..46a4e7c26 100644 --- a/js/make_temp_dir.ts +++ b/js/make_temp_dir.ts @@ -59,15 +59,15 @@ function req({ if (suffix != null) { fbs.MakeTempDir.addSuffix(builder, fbSuffix); } - const msg = fbs.MakeTempDir.endMakeTempDir(builder); - return [builder, fbs.Any.MakeTempDir, msg]; + const inner = fbs.MakeTempDir.endMakeTempDir(builder); + return [builder, fbs.Any.MakeTempDir, inner]; } function res(baseRes: null | fbs.Base): string { assert(baseRes != null); - assert(fbs.Any.MakeTempDirRes === baseRes!.msgType()); + assert(fbs.Any.MakeTempDirRes === baseRes!.innerType()); const res = new fbs.MakeTempDirRes(); - assert(baseRes!.msg(res) != null); + assert(baseRes!.inner(res) != null); const path = res.path(); assert(path != null); return path!; |