I feel like I have to be missing something simple. I'm trying to build a fairly simple application using Angular's DragDropModule. I just want to transfer items from one cdkDropList to another. I found something online that does something similar and got it functional. But when I'm trying to adapt my own code, I keep getting an error that tells me currentArray.splice is not a function.
I've got the code over on stackblitz.
I have my code up top and the test code I found down below. You'll note that the test code works as expected whereas mine throws the error. The only thing I am seeing that is different is that I'm storing string values in my array and they are storing number values, but I have to be missing something else. Anyone who can point me in the right direction would be appreciated. Thanks!