https://github.com/ant-design/ant-design/issues/11604Go 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.

Version

3.7.3

Environment

Using Chrome on Mac osx

https://github.com/ant-design/ant-design/blob/master/components/tree/Tree.tsx

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 -->

Logs