missing DataNode type
jonlepage opened this issue · 1 comments
jonlepage commented
you forget export DataNode type !

without exposing this type, we get error with only BasicDataNode, because it missing key.
edit:
It look missing expose a lot of types, why not export all types ?.
#548
AHorak commented
Works for me React 18.2 and Typescript 4.8
import { DataNode, EventDataNode, Key } from "rc-tree/lib/interface";
