Firebase deploy returns error at tsc command

Ran into same issue, was able to deploy after upgrading typescript library to 3.3.1 version and do npm install.

In package.json file set "devDependencies": { "tslint": "~5.8.0", "typescript": "~3.3.1" },

Note: you can remove all changes described in your post.


this works for me : add this line to tsconfig within the functions folder:

"typeRoots": [ "node_modules/@types" ],

This is part of "compilerOptions" block worked for me