Typeerror Is Not A Function Typescript Tutorial