diff options
Diffstat (limited to 'js/process.ts')
-rw-r--r-- | js/process.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/process.ts b/js/process.ts index fc5e5f652..a0eef63dd 100644 --- a/js/process.ts +++ b/js/process.ts @@ -150,7 +150,7 @@ export function run(opt: RunOptions): Process { const builder = flatbuffers.createBuilder(); const argsOffset = msg.Run.createArgsVector( builder, - opt.args.map(a => builder.createString(a)) + opt.args.map((a): number => builder.createString(a)) ); const cwdOffset = opt.cwd == null ? 0 : builder.createString(opt.cwd); const kvOffset: flatbuffers.Offset[] = []; |