From 06c6d1023eee575b37a109eef15503acaecb97b1 Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Fri, 5 Apr 2024 17:54:27 +0200 Subject: [PATCH] improve validate signature --- frontend/src/lib/components/apps/utils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/frontend/src/lib/components/apps/utils.ts b/frontend/src/lib/components/apps/utils.ts index 001c97d64e..da7d8a781a 100644 --- a/frontend/src/lib/components/apps/utils.ts +++ b/frontend/src/lib/components/apps/utils.ts @@ -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