Typescript Typeerror Is Not A Function Of Derivative Classification