Repository URL to install this package:
|
Version:
3.7.2 ▾
|
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;
}