I am getting the following error when executing the command firebase deploy --only function in my Ionic 3 project. This solution is not working for me.
npm install -g typescript@3.5.3 worked for me. I assume higher versions would work as well. It is important to update the global typescript version as my local typescript version update didn't work