Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Typescript:Cannot set className for TreeNode. #10950

1 task
fpsqdb opened this issue Jun 19, 2018 · 0 comments
1 task

Typescript:Cannot set className for TreeNode. #10950

fpsqdb opened this issue Jun 19, 2018 · 0 comments


Copy link

fpsqdb commented Jun 19, 2018

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




Windows 10 1803

Reproduction link

Steps to reproduce

What is expected?

No error when compile

What is actually happening?

TS2339: Property 'className' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<Component<AntTreeNodeProps, ComponentState, any>>

react 16.4
react-dom 16.4

bors bot added a commit to mozilla/delivery-console that referenced this issue Jun 25, 2018
239: Update dependency antd to v3.6.4 r=magopian a=renovate[bot]

This Pull Request updates dependency [antd]( from `v3.6.3` to `v3.6.4`

<summary>Release Notes</summary>

### [`v3.6.4`](
[Compare Source](ant-design/ant-design@3.6.3...3.6.4)
- 🐞 Fixed `Steps` theme `@process-icon-color`. [#&#8203;10973](`ant-design/ant-design#10973)
- 🐞 Fixed style of RangePicker with preset ranges. [#&#8203;10986](`ant-design/ant-design#10986)
- 🐞 Fixed `Dropdown` non-boolean attribute warning. [#&#8203;7798](`ant-design/ant-design#7798)
- TypeScript
  - 🌟 Add `Tree` prop `className` definition. [#&#8203;10950](`ant-design/ant-design#10950)
  - 🌟 Add `Tree` prop `selectable` definition. [3fb478e](ant-design/ant-design@3fb478e)


- 🐞 修复 `Steps` 组件的 `@process-icon-color` 样式定义。[#&#8203;10973](`ant-design/ant-design#10973)
- 🐞 修复 `RangePicker` 组件使用预置范围时的样式问题。[#&#8203;10986]
- 🐞 修复 `Dropdown` 组件可能报出的 `non-boolean attribute` 的警告。[#&#8203;7798](`ant-design/ant-design#7798)
- TypeScript
  - 🌟 给 `Tree` 组件添加 `className` 的定义。[#&#8203;10950](`ant-design/ant-design#10950)
  - 🌟 给 `Tree` 组件添加 `selectable` 的定义。[3fb478e](ant-design/ant-design@3fb478e)




This PR has been generated by [Renovate Bot](

Co-authored-by: Renovate Bot <>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
None yet

No branches or pull requests

2 participants