UNPKG
@rc-component/tree
Version:
latest (1.3.2)
1.3.2
1.3.1
1.3.0
1.2.4
1.2.3
1.2.2
1.2.1
1.2.0
1.1.0
1.0.2
1.0.1
1.0.0
tree ui component for react
github.com/react-component/tree
react-component/tree
@rc-component/tree
/
lib
/
utils
/
keyUtil.d.ts
3 lines
(2 loc)
•
175 B
TypeScript
View Raw
1
2
3
import
type
{
Key
,
KeyEntities
}
from
'../interface'
;
export
default
function
getEntity<T =
any
>(
keyEntities
:
KeyEntities
<T>,
key
:
Key
):
import
(
"../interface"
).
DataEntity
<T>;