From 0aa764df51fa4f152ef42bebd662a39db888b94b Mon Sep 17 00:00:00 2001 From: tangjinzhou <415800467@qq.com> Date: Tue, 1 Jan 2019 16:44:48 +0800 Subject: [PATCH] feat: update form ts --- types/form/form.d.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/types/form/form.d.ts b/types/form/form.d.ts index 522299521..956cd2a64 100644 --- a/types/form/form.d.ts +++ b/types/form/form.d.ts @@ -177,6 +177,13 @@ declare interface FieldDecoratorOptions { * @type string */ valuePropName?: string; + + /** + * Whether to keep the information of the child node all the time. + * @default false + * @type boolean + */ + preserve?: boolean; } export interface WrappedFormUtils {