to Github

RewardedView inTypescript error using TreeNode component#11604

pheadracreated this issue 6 months ago

  • I have searched the issues of this repository and believe that this is not a duplicate.




Using Chrome on Mac osx

Steps to reproduce

mport tree component, try to use it..get a typescript error for selectable attribute on TreeNode

What is expected?

No error message

What is actually happening?

Error:(250, 17) TS2339: Property 'selectable' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<AntTreeNodeProps, ComponentState, any>> & Readonly<{ children?: ReactNode; }> & Readonly<AntTreeNodeProps>'.

<!-- generated by ant-design-issue-helper. DO NOT REMOVE -->