Replies: 1 comment
-
This error happens because the Type for the selection needs to have a key field. IObjectWithKey is just {key?: string} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I define Selection object like this:
Then in a DetailList, I passed the object to
selection
property, but I got:The interface
INotification
extendsIObjectWithKey
.But if I just define selection without generic type, every thing is ok.
Beta Was this translation helpful? Give feedback.
All reactions