Skip to content

Commit

Permalink
fix(scalar.ts): correct parameter type in toInput() method documentat…
Browse files Browse the repository at this point in the history
…ion from Field to Scalar for accuracy
  • Loading branch information
MartinMinkov committed Feb 22, 2024
1 parent ec01713 commit de2e7ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/scalar.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ class Scalar {
*
* This function is the implementation of `ProvableExtended.toInput()` for the {@link Field} type.
*
* @param value - The {@link Field} element to get the `input` array.
* @param value - The {@link Scalar} element to get the `input` array.
*
* @return An object where the `fields` key is a {@link Field} array of length 1 created from this {@link Field}.
*
Expand Down

0 comments on commit de2e7ae

Please sign in to comment.