Skip to content

Commit 2b434bc

Browse files
authored
Merge pull request #779 from data-driven-forms/allow-use-field-api-generic-type
fix(renderer): Make use-field-api accept value definition.
2 parents c3f720a + 6f6edce commit 2b434bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/react-form-renderer/src/files/use-field-api.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,4 @@ T extends HTMLElement = HTMLElement> extends AnyObject {
2222
meta: FieldMetaState<FieldValue>;
2323
}
2424

25-
export default function(options: UseFieldApiConfig): UseFieldApiProps<any>;
25+
export default function<T = any>(options: UseFieldApiConfig): UseFieldApiProps<T>;

0 commit comments

Comments
 (0)