Browse Source

type: replace unknown with CheckboxRef (#43424)

pull/43431/head
lijianan 1 year ago
committed by GitHub
parent
commit
890316fc35
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 3
      components/checkbox/Checkbox.tsx

3
components/checkbox/Checkbox.tsx

@ -151,7 +151,8 @@ const InternalCheckbox: React.ForwardRefRenderFunction<CheckboxRef, CheckboxProp
);
};
const Checkbox = React.forwardRef<unknown, CheckboxProps>(InternalCheckbox);
const Checkbox = React.forwardRef<CheckboxRef, CheckboxProps>(InternalCheckbox);
if (process.env.NODE_ENV !== 'production') {
Checkbox.displayName = 'Checkbox';
}

Loading…
Cancel
Save