DEV Community

Discussion on: CodeAlong: Multi-Column Drag and Drop in React

Collapse
 
imjoshellis profile image
Josh Ellis

If you show me your repo, I can give you a more specific answer, but I think what's happening is Typescript thinks the object key should be from a very specific list ("todo"|"doing"|"done", for example) but you (or the library) are giving it a string...

See this for some examples of how to fix: stackoverflow.com/questions/568334...

Collapse
 
gustavojleal profile image
Gustavo Leal

Actually I tried to add your DND on my profile project, but I got this error. So I copy and pasted your code for try to understand if it was an under spelling mistake but I got the same error.
github.com/gustavojleal/dnd-react-....

Thanks so much for your time,