Skip to content

TypeScript reports FirebasePlugin object isn't defined #715

Closed
@peitschie

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions