Invoke Method Parseint Typescript Interview