Uncaught Syntaxerror Unexpected Identifier Typescript