Is Typescript A Functional Programming Vs Imperative Programming