Skip to content

Commit

Permalink
specify type in args
Browse files Browse the repository at this point in the history
  • Loading branch information
s0l0ist committed May 21, 2022
1 parent 885c7b0 commit d81b531
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/implementation/batch-encoder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ const BatchEncoderConstructor =
*/
decode(
plainText: PlainText,
signed = true,
signed: boolean = true,
pool: MemoryPoolHandle = MemoryPoolHandle.global
): Int32Array | Uint32Array {
try {
Expand Down Expand Up @@ -283,7 +283,7 @@ const BatchEncoderConstructor =
*/
decodeBigInt(
plainText: PlainText,
signed = true,
signed: boolean = true,
pool: MemoryPoolHandle = MemoryPoolHandle.global
): BigInt64Array | BigUint64Array {
try {
Expand Down

0 comments on commit d81b531

Please sign in to comment.