Typescript Insert Item Into Array Methods In React