Typescript Error '=' expected and more

What’s weird about that is that unique symbol was added in TypeScript 2.7, yet the package.json you posted claimed to be declaring ^2.7.2. Can you check what version of typescript is actually installed?

$ grep _id node_modules/typescript/package.json