(...args: any[])
| 126 | ): FieldTree<TModel>; |
| 127 | |
| 128 | export function compatForm<TModel>(...args: any[]): FieldTree<TModel> { |
| 129 | const [model, maybeSchema, maybeOptions] = normalizeFormArgs<TModel>(args); |
| 130 | |
| 131 | const options = {...maybeOptions, adapter: new CompatFieldAdapter()}; |
| 132 | const schema = maybeSchema || ((() => {}) as SchemaOrSchemaFn<TModel, PathKind>); |
| 133 | return form(model, schema, options); |
| 134 | } |
no test coverage detected
searching dependent graphs…