@react-typed-forms/schemas 14.1.2 → 14.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/controlDefinition.d.ts +1 -1
- package/lib/index.cjs.map +1 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -359,7 +359,7 @@ export interface FormTree extends FormTreeLookup {
|
|
|
359
359
|
rootNode: FormNode;
|
|
360
360
|
controlMap: ControlMap;
|
|
361
361
|
}
|
|
362
|
-
export declare function nodeForControl(definition: ControlDefinition, tree: FormTree,
|
|
362
|
+
export declare function nodeForControl(definition: ControlDefinition, tree: FormTree, indexOrId?: number | string, parent?: FormNode): FormNode;
|
|
363
363
|
export declare function legacyFormNode(definition: ControlDefinition): FormNode;
|
|
364
364
|
export declare function createFormLookup<A extends Record<string, ControlDefinition[]>>(formMap: A): FormTreeLookup<keyof A>;
|
|
365
365
|
export declare function fieldPathForDefinition(c: ControlDefinition): string[] | undefined;
|