diff --git a/packages/ts/common/value.ts b/packages/ts/common/value.ts index 8f7a2959b..605515ddd 100644 --- a/packages/ts/common/value.ts +++ b/packages/ts/common/value.ts @@ -158,7 +158,7 @@ export class Value { const values = this.toArray(); const output = new Array(values.length); for (let i: i32 = 0; i < values.length; i++) { - output[i] = values[i].toI32(); + output[i] = values[i].toI64(); } return output; }