@@ -99,7 +99,7 @@ export function customError<E extends Partial<ValidationError.WithField>>(obj?:
9999export class CustomValidationError implements ValidationError {
100100 constructor (options ? : ValidationErrorOptions );
101101 [key : PropertyKey ]: unknown ;
102- readonly field : FieldTree <unknown >;
102+ readonly fieldTree : FieldTree <unknown >;
103103 readonly kind: string ;
104104 readonly message? : string ;
105105}
@@ -115,7 +115,7 @@ export function disabled<TValue, TPathKind extends PathKind = PathKind.Root>(pat
115115
116116// @public
117117export interface DisabledReason {
118- readonly field : FieldTree <unknown >;
118+ readonly fieldTree : FieldTree <unknown >;
119119 readonly message? : string ;
120120}
121121
@@ -469,7 +469,7 @@ export class RequiredValidationError extends _NgValidationError {
469469
470470// @public
471471export interface RootFieldContext <TValue > {
472- readonly field : FieldTree <TValue >;
472+ readonly fieldTree : FieldTree <TValue >;
473473 fieldTreeOf<PModel >(p : SchemaPathTree <PModel >): FieldTree <PModel >;
474474 readonly pathKeys: Signal <readonly string []>;
475475 readonly state: FieldState <TValue >;
@@ -582,10 +582,10 @@ export interface ValidationError {
582582// @public (undocumented)
583583export namespace ValidationError {
584584 export interface WithField extends ValidationError {
585- readonly field : FieldTree <unknown >;
585+ readonly fieldTree : FieldTree <unknown >;
586586 }
587587 export interface WithOptionalField extends ValidationError {
588- readonly field ? : FieldTree <unknown >;
588+ readonly fieldTree ? : FieldTree <unknown >;
589589 }
590590 export interface WithoutField extends ValidationError {
591591 readonly field? : never ;
@@ -603,17 +603,17 @@ export type Validator<TValue, TPathKind extends PathKind = PathKind.Root> = Logi
603603
604604// @public
605605export type WithField <T > = T & {
606- field : FieldTree <unknown >;
606+ fieldTree : FieldTree <unknown >;
607607};
608608
609609// @public
610- export type WithOptionalField <T > = Omit <T , ' field ' > & {
611- field ? : FieldTree <unknown >;
610+ export type WithOptionalField <T > = Omit <T , ' fieldTree ' > & {
611+ fieldTree ? : FieldTree <unknown >;
612612};
613613
614614// @public
615615export type WithoutField <T > = T & {
616- field : never ;
616+ fieldTree : never ;
617617};
618618
619619// (No @packageDocumentation comment for this package)
0 commit comments