Skip to content

AngularFire 7.2 doesn't compile with latest Angular 13.1 and Typescript 4.5 #3090

Closed
@anisabboud

Description

@anisabboud

Update Angular & Typescript to latest (13.1.0 and 4.5.3) => ng serve errors in the terminal:

Error: node_modules/@angular/fire/compat/proxy.d.ts:7:49 - error TS2344: Type 'T[K]' does not satisfy the constraint '(...args: any) => any'.
image

Caused by this file: https://github.com/angular/angularfire/blob/master/src/compat/proxy.ts
Latest version of Typescript (4.5.3) doesn't like T[K].

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions