Typescript Typeerror Is Not A Function Of A Data Link Protocol