angular / angularfire

Angular + Firebase = ❤️
https://firebaseopensource.com/projects/angular/angularfire2
MIT License
7.67k stars 2.19k forks source link

Same issue, using angular `15.0.0` - seems to be an issue with compatibility interfaces `@angular/fire/compat/firestore/interfaces.d.ts`. #3302

Open wenici opened 1 year ago

wenici commented 1 year ago
    Same issue, using angular `15.0.0` - seems to be an issue with compatibility interfaces `@angular/fire/compat/firestore/interfaces.d.ts`.

This is momentarily fixed by changing the above file, replacing line numbers 15 and 24 to:

data(options?: SnapshotOptions): any;

Originally posted by @edarioq in https://github.com/angular/angularfire/issues/3255#issuecomment-1345535619

google-oss-bot commented 1 year ago

This issue does not seem to follow the issue template. Make sure you provide all the required information.

Guuh86 commented 1 year ago

Hi! Try to add ("skipLibCheck": true) in your tsconfig.json in section "compilerOptions". This is a small hack to solve this problem, but I suggest you remove it as soon as they release a fix.

luisedo97 commented 1 year ago

@Guuh86 its good, its very good you response, thanks! Muito obrigado.

potatoman009 commented 1 year ago

Angular 15 dosen't with any version of firebase, as a hack u can change "strict" to false in tsconfig.json file. Team please fix this