Skip to content

error TS2315: Type 'Response' is not generic when upgrading to 3.4.0 #637

Closed
@tianhaoz95

Description

@tianhaoz95

Related issues

[REQUIRED] Version info

node:10.16.0

firebase-functions:3.4.0

firebase-tools:7.15.1

firebase-admin:8.10.0

[REQUIRED] Test case

Doesn't build with tsc.

[REQUIRED] Steps to reproduce

Initialize with a hello world TypeScript example, and do tsc.

[REQUIRED] Expected behavior

It should build the code in src.

[REQUIRED] Actual behavior

##[error]node_modules/firebase-functions/lib/function-builder.d.ts(59,57): error TS2315: Type 'Response' is not generic.

and then error out.

Full log, see: https://github.com/tianhaoz95/iwfp/pull/376/checks?check_run_id=521083728#step:9:13

Were you able to successfully deploy your functions?

I was able to deploy, but with upgrading to 3.4.0, probably not as it doesn't build.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions