react-component/tree

Error in type activeKey

evgeniya-osmakova opened this issue · 2 comments

Now the type of activeKey is Key
But it also can be null

Why it can be null?

activeKey: null,

if (activeKey !== null) {

tree/src/Tree.tsx

Line 1192 in 2ed2c09

if (activeKey === null) {