Skip to content

Commit 480ef12

Browse files
li-jia-nanRedJue
authored andcommitted
type: update forwardRef type (ant-design#41188)
1 parent 4affb7a commit 480ef12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/radio/radio.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ const InternalRadio: React.ForwardRefRenderFunction<CheckboxRef, RadioProps> = (
8585
);
8686
};
8787

88-
const Radio = React.forwardRef<unknown, RadioProps>(InternalRadio);
88+
const Radio = React.forwardRef<CheckboxRef, RadioProps>(InternalRadio);
8989

9090
if (process.env.NODE_ENV !== 'production') {
9191
Radio.displayName = 'Radio';

0 commit comments

Comments
 (0)