Skip to content

Commit 2437ab0

Browse files
author
Erik Rasmussen
committed
docs: Clarify FieldMetaState comment per CodeRabbit feedback
Changed comment from '(removed in v7.0.0)' which reads like a future removal, to clarify it was removed from sources but re-exported here for backwards compatibility.
1 parent d6111dc commit 2437ab0

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/types.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ export interface FieldRenderProps<
5858
};
5959
}
6060

61-
// Re-export FieldMetaState for backwards compatibility (removed in v7.0.0)
61+
// Re-export of FieldMetaState for backwards compatibility
62+
// (removed from original sources in v7.0.0 but re-exported here)
6263
export type FieldMetaState<FieldValue = any> = FieldRenderProps<FieldValue>['meta'];
6364

6465
export interface SubmitEvent {

typescript/index.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,8 @@ export interface FieldRenderProps<
5858
};
5959
}
6060

61-
// Re-export FieldMetaState for backwards compatibility (removed in v7.0.0)
61+
// Re-export of FieldMetaState for backwards compatibility
62+
// (removed from original sources in v7.0.0 but re-exported here)
6263
export type FieldMetaState<FieldValue = any> = FieldRenderProps<FieldValue>['meta'];
6364

6465
export interface SubmitEvent {

0 commit comments

Comments
 (0)