Skip to content

Commit

Permalink
type: update forwardRef type (ant-design#41188)
Browse files Browse the repository at this point in the history
  • Loading branch information
li-jia-nan authored and RedJue committed Apr 25, 2023
1 parent 4affb7a commit 480ef12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/radio/radio.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ const InternalRadio: React.ForwardRefRenderFunction<CheckboxRef, RadioProps> = (
);
};

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

if (process.env.NODE_ENV !== 'production') {
Radio.displayName = 'Radio';
Expand Down

0 comments on commit 480ef12

Please sign in to comment.