Those are TypeScript errors, probably due to an unsupported version of Node.js and/or TypeScript compiler being used. Run node -v on a terminal window to check your current version, anything below 18 is unsupported.
If that is the case I would strongly suggest to remove your current installation of both TypeScript and Node.js and re-install it again. To remove them:
sudo npm remove typescript
sudo apt purge nodejs
Here are some general instructions on how to install it:
mkdir ~/.npm-global
npm config set prefix '~/.npm-global'
# Make sure to add this to your `~/.profile` or `~/.bashrc` to ensure this location is always available, not only during this terminal session.
export PATH=~/.npm-global/bin:$PATH
npm install -g typescript
Please do not use node-typescript as it's severely outdated (last updated 11 years ago).
Download the appropriate branch of the pop-shell repository. Since ZorinOS 16 is based off of Ubuntu 20.04, you need to use the Jammy branch:
If you have added pop-os repository to your software sources to achive this, once you are done with installing, I suggest you remove that repository to avoid future grief with Pop-OS updates messing with your ZorinOS. See this: