diff --git a/packages/perseus/src/widgets/orderer/validate-orderer.ts b/packages/perseus/src/widgets/orderer/validate-orderer.ts index f6bf459d58..dd09608caa 100644 --- a/packages/perseus/src/widgets/orderer/validate-orderer.ts +++ b/packages/perseus/src/widgets/orderer/validate-orderer.ts @@ -1,6 +1,12 @@ import type {PerseusScore} from "../../types"; import type {PerseusOrdererUserInput} from "../../validation.types"; +/** + * Checks user inputfrom the orderer widget to see if the user has started + * ordering the options, making the widget scorable. + * @param userInput + * @see `scoreOrderer` for more details. + */ function validateOrderer( userInput: PerseusOrdererUserInput, ): Extract | null {