Skip to content

Support types for NodeJS 12 #1100

@sk-

Description

@sk-

[REQUIRED] Step 2: Describe your environment

  • Firebase SDK version: 9.4.1
  • Firebase Product: admin
  • Node.js version: 12

[REQUIRED] Step 3: Describe the problem

Now that cloud functions support for NodeJS 12 is at the GA level, the type dependencies should reflect that, so instead of depending on the types for Node 10, it should depend in either the types for node 10 or the types for node 12.

See

"@types/node": "^10.10.0",

That line should probably be changed to something like:

"@types/node": "^10.10.0 || ^12"

I'm not sure though if that dependency really needs to be a runtime dependency or it it could be moved to a dev dependency.

Steps to reproduce:

What happened? How can we make the problem occur?
This could be a description, log/console output, etc.

Relevant Code:

// TODO(you): code here to reproduce the problem

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions