Skip to content

typescript minimum version not indicated by peer dependency #8837

Open
@brantgurga

Description

@brantgurga

Operating System

Linux

Environment (if applicable)

Typescript

Firebase SDK Version

11.4.0

Firebase SDK Product(s)

Installations

Project Tooling

React app via React-scripts (Create React App)

Detailed Problem Description

Updated to latest firebase dependency and the typescript compile failed for firebase having type modifiers on import names. So the current version requires typescript to be at least 4.5 to support that, but it's not indicated by the package.json dependencies.

Steps and code to reproduce issue

Use typescript before 4.5 and see a typescript compile fail on the syntaxes like import {type MyType} from 'firebase'

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions