Skip to content

fix: read string value as date in internal validation #402

fix: read string value as date in internal validation

fix: read string value as date in internal validation #402

Triggered via pull request October 17, 2024 17:37
@sadik-maliksadik-malik
synchronize #323
master
Status Failure
Total duration 1m 20s
Artifacts

ci.yml

on: pull_request
Run Type Check & Linters
1m 11s
Run Type Check & Linters
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 1 warning
Run Type Check & Linters
Argument of type 'string | TValue' is not assignable to parameter of type 'Date'.
Run Type Check & Linters
Type '((value: PathValue<TFieldValues, TName>) => TValue | null) | ((newValue: PathValue<TFieldValues, TName>) => string | ... 1 more ... | null)' is not assignable to type '((value: PathValue<TFieldValues, TName>) => TValue | null) | undefined'.
Run Type Check & Linters
Argument of type 'string | TValue' is not assignable to parameter of type 'Date'.
Run Type Check & Linters
Type '((value: PathValue<TFieldValues, TName>) => TValue | null) | ((newValue: PathValue<TFieldValues, TName>) => string | ... 1 more ... | null)' is not assignable to type '((value: PathValue<TFieldValues, TName>) => TValue | null) | undefined'.
Run Type Check & Linters
Argument of type 'string | TValue' is not assignable to parameter of type 'Date'.
Run Type Check & Linters
Type '((value: PathValue<TFieldValues, TName>) => TValue | null) | ((newValue: PathValue<TFieldValues, TName>) => string | ... 1 more ... | null)' is not assignable to type '((value: PathValue<TFieldValues, TName>) => TValue | null) | undefined'.
Run Type Check & Linters
Argument of type 'string | TValue' is not assignable to parameter of type 'Date'.
Run Type Check & Linters
Type '((value: PathValue<TFieldValues, TName>) => TValue | null) | ((newValue: PathValue<TFieldValues, TName>) => string | ... 1 more ... | null)' is not assignable to type '((value: PathValue<TFieldValues, TName>) => TValue | null) | undefined'.
Run Type Check & Linters
Process completed with exit code 2.
Run Type Check & Linters
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/