fix: resolve linting errors by adding missing JSDoc comments

This commit is contained in:
mansiverma897993 2026-06-16 13:29:55 +05:30
parent d4e7d8da12
commit f73170a274
2 changed files with 17 additions and 0 deletions

View File

@ -66,6 +66,12 @@ class Ingredient {
}
/**
* Validates the given value against the constraints of this ingredient.
*
* @param {*} val
* @returns {boolean}
*/
validate(val) {
if (this.disabled) return true;

View File

@ -6,8 +6,14 @@
import Operation from "../Operation.mjs";
/**
* Automated validation test operation
*/
class AutomatedValidationTestOp extends Operation {
/**
* AutomatedValidationTestOp constructor
*/
constructor() {
super();
@ -58,6 +64,11 @@ class AutomatedValidationTestOp extends Operation {
];
}
/**
* @param {string} input
* @param {Object[]} args
* @returns {string}
*/
run(input, args) {
return "Success";
}