Skip to content

alpha: Type 'LoadBundleTask' is not generic #4441

Closed
@peterpeterparker

Description

@peterpeterparker

[REQUIRED] Describe your environment

  • Firebase SDK version: "firebase": "^0.900.12"

[REQUIRED] Describe the problem

When I try to start my (Stencil) app which I migrated to the Firebase SDK Alpha I get the following error:

[ ERROR ] TypeScript: ./node_modules/@firebase/firestore/dist/exp/index.d.ts:858:53
Type 'LoadBundleTask' is not generic.

L857: /
L858: catch(onRejected: (a: FirestoreError) => R | LoadBundleTask): Promise<R | LoadBundleTaskProgress>;
L859: /
*

Happy to help to debug it but not sure where to start.

I also spotted in issue #4381 almost the same exception but in my case, I don't use Timestamp and the msg does not contains much information.

Steps to reproduce:

git  clone https://github.com/deckgo/deckdeckgo/ -b firebase_alpha
cd deckdeckgo/studio
npm ci
npm run start

Relevant Code:

Signin component:

https://github.com/deckgo/deckdeckgo/blob/bd41dd2b192ff366ccb660532a988f73b0169b6c/studio/src/app/components/core/app-signin/app-signin.tsx#L3

Firebase init:

https://github.com/deckgo/deckdeckgo/blob/firebase_alpha/studio/src/app/utils/editor/firestore.utils.ts

Auth state change:

https://github.com/deckgo/deckdeckgo/blob/firebase_alpha/studio/src/app/services/auth/auth.service.ts

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions