Relative Content

Tag Archive for arraystypescriptobject

add object to array in typescript

I am just confused. I am trying to add new objects into an array in typescript but I got an error. my interface has a function on it. does anyone have an idea?