Firebase deploy returns error at tsc command

后端 未结 2 955
旧时难觅i
旧时难觅i 2021-01-11 17:48

I\'ve setup a Firebase project to create some basic Firebase Functions.
In the project I\'m using TypeScript

Following the Firebase official documentation I crea

2条回答
  •  北海茫月
    2021-01-11 18:27

    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

提交回复
热议问题