improve validate signature

This commit is contained in:
Ruben Fiszel
2024-04-05 17:54:27 +02:00
parent 2ec1add494
commit 06c6d1023e
+3 -3
View File
@@ -226,18 +226,18 @@ declare function close(id: string): void;
* @param id component's id
* @param key property's key to validate
*/
declare function validate(id: string, key: number): void;
declare function validate(id: string, key: string): void;
/** validate form field property 'key'
* @param id component's id
* @param key property's key to validate
*/
declare function invalidate(id: string, key: number, error: string): void;
declare function invalidate(id: string, key: string, error: string): void;
/** validate all form's properties
* @param id component's id
*/
declare function validateAll(id: string, key: number): void;
declare function validateAll(id: string): void;
/** Clear the files of a file input component
* @param id component's id