From de2e7aee73adeb360fe4585039ef89a891ca05e8 Mon Sep 17 00:00:00 2001 From: Martin Minkov Date: Thu, 22 Feb 2024 12:19:52 -0800 Subject: [PATCH] fix(scalar.ts): correct parameter type in toInput() method documentation from Field to Scalar for accuracy --- src/lib/scalar.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/scalar.ts b/src/lib/scalar.ts index 32aa8d6789..267eb86f54 100644 --- a/src/lib/scalar.ts +++ b/src/lib/scalar.ts @@ -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}. *