File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ export type AuthFormConstraints = {
2929 * @property {Object } data - The form input data
3030 * @property {string } data.username - The username field value
3131 * @property {string } data.password - The password field value
32- * @property {Record<string, unknown > } errors - Collection of validation errors keyed by field name
32+ * @property {Record<string, string[] > } errors - Collection of validation errors keyed by field name
3333 * @property {AuthFormConstraints } [constraints] - Optional validation constraints for the form
3434 * @property {Record<string, unknown> } [shape] - Optional form schema or structure definition
3535 * @property {string } message - General message associated with the form (success, error, etc.)
@@ -39,7 +39,7 @@ export type AuthForm = {
3939 valid : boolean ;
4040 posted : boolean ;
4141 data : { username : string ; password : string } ;
42- errors : Record < string , unknown > ;
42+ errors : Record < string , string [ ] > ;
4343 constraints ?: AuthFormConstraints ;
4444 shape ?: Record < string , unknown > ;
4545 message : string ;
You can’t perform that action at this time.
0 commit comments