Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
@skava/forms / build / dist / new-forms / OneForm / OneFormState.d.ts
Size: Mime:
import { InputConfig } from '../inputs/typings';
import { FormState } from '../forms';
/**
 * @todo how do we adapt the form state here...
 */
export declare class OneFormState<Generic = any> {
    store: Map<any, any>;
    setInputsList(inputsList: InputConfig[]): this;
    /**
     * @todo need to solve different types here
     * https://github.com/Microsoft/TypeScript/issues/2521
     */
    /**
    * note that this MUST have same return type as setter
    * but we always return inputState so we use `as`
    */
    inputsList: InputConfig[];
    readonly formState: FormState;
    get: typeof FormState.prototype.get;
    toJSON: typeof FormState.prototype.toJSON;
}