UNPKG

@angular-redux/form

Version:
22 lines (21 loc) 673 B
import { AfterContentInit, OnDestroy } from '@angular/core'; import { AbstractControl } from '@angular/forms'; import { FormStore } from '../form-store'; export interface ControlPair { path: string[]; control: AbstractControl; } export declare class ConnectBase implements OnDestroy, AfterContentInit { readonly path: string[]; connect?: () => (string | number) | (string | number)[]; protected store?: FormStore; protected form: any; private stateSubscription?; private formSubscription?; ngOnDestroy(): void; ngAfterContentInit(): void; private descendants; private resetState; private publish; private getState; }