Skip to content

perf(form-core): reduce instantiations when type checking #1480

perf(form-core): reduce instantiations when type checking

perf(form-core): reduce instantiations when type checking #1480

Triggered via pull request March 10, 2025 21:08
Status Failure
Total duration 4m 3s
Artifacts

pr.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors
Preview
Process completed with exit code 1.
Test
Property 'defaultMeta' in type 'TanStackField<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, ... 10 more ..., TSubmitMeta>' is not assignable to the same property in base type 'FieldOptions<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, TOnSubmit, TOnSubmitAsync>'.
Test
Type 'Partial<FieldMeta<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, ... 8 more ..., TFormOnSubmitAsync>> | undefined' is not assignable to type 'Partial<FieldMeta<TParentData, TName, TData, TOnMount, TOnChange, TOnChangeAsync, TOnBlur, TOnBlurAsync, ... 8 more ..., any>> | undefined'.
Test
Process completed with exit code 1.