Typescript Interface For Array Javascript Pushstate In Js