Skip to content

Commit 6f6edce

Browse files
committed
fix(renderer): Make use-field-api accept value definition.
1 parent c3f720a commit 6f6edce

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)