• Overview
@angular/forms/signals

CompatSchemaPath

Type Alias

Schema path used if the value is an AbstractControl.

API

    
      type CompatSchemaPath<TControl extends AbstractControl, TPathKind extends PathKind = PathKind.Root> = SchemaPath<  TControl extends AbstractControl<unknown, infer TValue> ? TValue : never,  SchemaPathRules.Unsupported,  TPathKind> &  // & also we capture the control type, so that `stateOf(p)` can unwrap  // to a correctly typed `CompatFieldState`.  {    [ɵɵTYPE]: {control: TControl};  }
    
    
Jump to details