Typescript Uncaught Typeerror Is Not A Function Javascript Tutorial Point