DEV Community

Discussion on: You decide the new features!

Collapse
 
adam_cyclones profile image
Adam Crockett 🌀

Okay I spent some time looking at the code. Have you seen Typescript? It's probably the better way to go, defining an object literal is going to be way more straight forward than this, and you could just add an interface... I'm guessing that's kind of what a struct is meant to be?