While practicing validation using Template Driven Approche, got an error as
Parameter \'val\' implicitly has an \'any\' type, but a better type may be in