Typescript Make Array In Javascript Mdn Setinterval