Skip to content

Regression in how "long" is imported breaks Cloud Functions for Firebase #317

@inlined

Description

@inlined

Public issue for StackOverflow. I also noticed our integration tests failing.

It seems this is because @types/long uses export = syntax. You can usually get away with using a standard import when someone uses export =, but documentation is quite clear that you're supposed to use import = require() in these cases. If the moon is in the wrong phase, a traditional import breaks. This issue seems to be hitting Firebase customers.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions