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

Closed
fpsqdb opened this Issue Jun 19, 2018 · 0 comments

Comments

Projects
None yet
2 participants
@fpsqdb

fpsqdb commented Jun 19, 2018

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

Version

3.6.3

Environment

Windows 10 1803

Reproduction link

https://ant.design/components/tree/

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

@zombieJ zombieJ closed this in 17da353 Jun 20, 2018

bors bot added a commit to mozilla/delivery-console that referenced this issue Jun 25, 2018

Merge #239
239: Update dependency antd to v3.6.4 r=magopian a=renovate[bot]

This Pull Request updates dependency [antd](https://github.com/ant-design/ant-design) from `v3.6.3` to `v3.6.4`



<details>
<summary>Release Notes</summary>

### [`v3.6.4`](https://github.com/ant-design/ant-design/releases/3.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]
(`ant-design/ant-design#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)

---

</details>




---

This PR has been generated by [Renovate Bot](https://renovatebot.com).

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