Regression in how "long" is imported breaks Cloud Functions for Firebase #1246
Labels
priority: p2
Moderately-important priority. Fix may not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Public issue for StackOverflow. I also noticed our integration tests failing.
It seems this is because
@types/long
usesexport =
syntax. You can usually get away with using a standardimport
when someone usesexport =
, but documentation is quite clear that you're supposed to useimport = require()
in these cases. If the moon is in the wrong phase, a traditional import breaks. This issue seems to be hitting Firebase customers.The text was updated successfully, but these errors were encountered: