From ac3f60cd1ee6d9ecd73d5d4abb38ad81057b6e2b Mon Sep 17 00:00:00 2001 From: Rainy Date: Sun, 22 Mar 2020 14:42:20 +0800 Subject: [PATCH] Update FormContext.tsx --- src/FormContext.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/FormContext.tsx b/src/FormContext.tsx index 8144e615..fb149997 100644 --- a/src/FormContext.tsx +++ b/src/FormContext.tsx @@ -1,16 +1,16 @@ import * as React from 'react'; import { ValidateMessages, FormInstance, FieldData, Store } from './interface'; -interface Forms { +export interface Forms { [name: string]: FormInstance; } -interface FormChangeInfo { +export interface FormChangeInfo { changedFields: FieldData[]; forms: Forms; } -interface FormFinishInfo { +export interface FormFinishInfo { values: Store; forms: Forms; }