From 2c03003aa9ccd7297f414b06c4db4eb81fcf8053 Mon Sep 17 00:00:00 2001 From: Brandon Zylstra <9854+brandonzylstra@users.noreply.github.com> Date: Tue, 10 Mar 2026 15:57:24 -0400 Subject: [PATCH] inflection fix in useCounter.ts "functionality" is an abstract noun, and therefore normally non-count. Coercing it into a count noun makes it sound a little off. If a count noun is preferred, "functions" might be the best option. --- packages/usehooks-ts/src/useCounter/useCounter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/usehooks-ts/src/useCounter/useCounter.ts b/packages/usehooks-ts/src/useCounter/useCounter.ts index 7744abb0..68556d80 100644 --- a/packages/usehooks-ts/src/useCounter/useCounter.ts +++ b/packages/usehooks-ts/src/useCounter/useCounter.ts @@ -17,7 +17,7 @@ type UseCounterReturn = { } /** - * Custom hook that manages a counter with increment, decrement, reset, and setCount functionalities. + * Custom hook that manages a counter with increment, decrement, reset, and setCount functionality. * @param {number} [initialValue] - The initial value for the counter. * @returns {UseCounterReturn} An object containing the current count and functions to interact with the counter. * @public