TypeScript reports FirebasePlugin object isn't defined #715
Closed
Description
Moving conversation from #529 (comment) into it's own bug.
Type regression introduced by the tweak in 5e349af.
Putting the export on the interfaces makes TypeScript decide this is a Module now rather than a Namespace: https://www.typescriptlang.org/docs/handbook/modules.html
In TypeScript, just as in ECMAScript 2015, any file containing a top-level import or export is considered a module. Conversely, a file without any top-level import or export declarations is treated as a script whose contents are available in the global scope (and therefore to modules as well).
Metadata
Assignees
Labels
No labels