Title: Angular v15 support · Issue #3290 · angular/angularfire · GitHub
Open Graph Title: Angular v15 support · Issue #3290 · angular/angularfire
X Title: Angular v15 support · Issue #3290 · angular/angularfire
Description: Version info Angular: 15.0.0 Firebase: 9.14.0 AngularFire: 7.4.1 Node: v16.18.1 NPM: 8.19.2 Operating system: macOS How to reproduce these conditions Failing test unit, Stackblitz demonstrating the problem Steps to set up and reproduce A...
Open Graph Description: Version info Angular: 15.0.0 Firebase: 9.14.0 AngularFire: 7.4.1 Node: v16.18.1 NPM: 8.19.2 Operating system: macOS How to reproduce these conditions Failing test unit, Stackblitz demonstrating the...
X Description: Version info Angular: 15.0.0 Firebase: 9.14.0 AngularFire: 7.4.1 Node: v16.18.1 NPM: 8.19.2 Operating system: macOS How to reproduce these conditions Failing test unit, Stackblitz demonstrating the...
Opengraph URL: https://github.com/angular/angularfire/issues/3290
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Angular v15 support","articleBody":"\u003c!--\r\n\r\nIMPORTANT! YOU MUST FOLLOW THESE INSTRUCTIONS OR YOUR ISSUE WILL BE CLOSED.\r\n\r\nThank you for contributing to the Angular and Firebase communities!\r\n\r\nHave a usage question?\r\n=======================\r\nWe get lots of those and we love helping you, but GitHub is not the best place for them and they will be closed. Here are some resources to get help:\r\n\r\n- Go through the Developer's Guide: https://github.com/angular/angularfire2#developer-guide\r\n\r\nIf the official documentation doesn't help, try asking through our officially supported channels:\r\n\r\n- Firebase Google Group: https://groups.google.com/forum/#!forum/firebase-talk\r\n- Stack Overflow: https://stackoverflow.com/questions/tagged/angular (include the firebase and angularfire tags, too!)\r\n\r\n*Please avoid double posting across multiple channels!*\r\n\r\nThink you found a bug?\r\n=======================\r\nYeah, we're definitely not perfect! Please use the bug report template below and include a minimal repro when opening the issue.\r\n\r\nHave a feature request?\r\n========================\r\nGreat, we love hearing how we can improve our products! Remove the template below and\r\nprovide an explanation of your feature request. Provide code samples if applicable. Try to\r\nthink about what it will allow you to do that you can't do today? How will it make current\r\nworkarounds straightforward? What potential bugs and edge cases does it help to avoid?\r\n\r\n--\u003e\r\n\r\n\r\n### Version info\r\n\r\n\u003c!-- What versions of the following libraries are you using? Note that your issue may already\r\nbe fixed in the latest versions. --\u003e\r\n\r\n**Angular:** 15.0.0\r\n\r\n**Firebase:** 9.14.0\r\n\r\n**AngularFire:** 7.4.1\r\n\r\n**Node:** v16.18.1\r\n\r\n**NPM:** 8.19.2\r\n\r\n**Operating system:** macOS\r\n\r\n### How to reproduce these conditions\r\n\r\n**Failing test unit, Stackblitz demonstrating the problem**\r\n\r\n\u003c!-- \r\nProvide a failing test unit, or create a minimal, complete, and \r\nverifiable example (http://stackoverflow.com/help/mcve) using \r\nStackBlitz (https://stackblitz.com/edit/angular-fire-start).\r\n--\u003e\r\n\r\n**Steps to set up and reproduce**\r\n\r\n1) Angular version upgraded v14 to v15. (blank project)\r\n2) ng add @angular/fire\r\n3) ng serve\r\n\r\n\u003c!-- detailed instructions to run your minimal repro or to recreate the environment --\u003e\r\n\r\n**Sample data and security rules**\r\n\r\n\u003c!-- include/attach/link to some json sample data (or provide credentials to a sanitized, test Firebase project) --\u003e\r\n\r\n### Debug output\r\n\r\nError: node_modules/@angular/fire/compat/firestore/interfaces.d.ts:13:18 - error TS2430: Interface 'DocumentSnapshotExists\u003cT\u003e' incorrectly extends interface 'DocumentSnapshot\u003cDocumentData\u003e'.\r\n The types returned by 'data(...)' are incompatible between these types.\r\n Type 'T' is not assignable to type 'DocumentData | undefined'.\r\n Type 'T' is not assignable to type 'DocumentData'.\r\n\r\n13 export interface DocumentSnapshotExists\u003cT\u003e extends firebase.firestore.DocumentSnapshot {\r\n ~~~~~~~~~~~~~~~~~~~~~~\r\n\r\n node_modules/@angular/fire/compat/firestore/interfaces.d.ts:13:41\r\n 13 export interface DocumentSnapshotExists\u003cT\u003e extends firebase.firestore.DocumentSnapshot {\r\n ~\r\n This type parameter might need an `extends firebase.firestore.DocumentData` constraint.\r\n node_modules/@angular/fire/compat/firestore/interfaces.d.ts:13:41\r\n 13 export interface DocumentSnapshotExists\u003cT\u003e extends firebase.firestore.DocumentSnapshot {\r\n ~\r\n This type parameter might need an `extends firebase.firestore.DocumentData | undefined` constraint.\r\n\r\n\r\nError: node_modules/@angular/fire/compat/firestore/interfaces.d.ts:23:18 - error TS2430: Interface 'QueryDocumentSnapshot\u003cT\u003e' incorrectly extends interface 'QueryDocumentSnapshot\u003cDocumentData\u003e'.\r\n The types returned by 'data(...)' are incompatible between these types.\r\n Type 'T' is not assignable to type 'DocumentData'.\r\n\r\n23 export interface QueryDocumentSnapshot\u003cT\u003e extends firebase.firestore.QueryDocumentSnapshot {\r\n ~~~~~~~~~~~~~~~~~~~~~\r\n\r\n node_modules/@angular/fire/compat/firestore/interfaces.d.ts:23:40\r\n 23 export interface QueryDocumentSnapshot\u003cT\u003e extends firebase.firestore.QueryDocumentSnapshot {\r\n ~\r\n This type parameter might need an `extends firebase.firestore.DocumentData` constraint.\r\n\r\n\r\nError: node_modules/@angular/fire/compat/firestore/interfaces.d.ts:26:18 - error TS2430: Interface 'QuerySnapshot\u003cT\u003e' incorrectly extends interface 'QuerySnapshot\u003cDocumentData\u003e'.\r\n Types of property 'docs' are incompatible.\r\n Type 'QueryDocumentSnapshot\u003cT\u003e[]' is not assignable to type 'QueryDocumentSnapshot\u003cDocumentData\u003e[]'.\r\n Type 'QueryDocumentSnapshot\u003cT\u003e' is not assignable to type 'QueryDocumentSnapshot\u003cDocumentData\u003e'.\r\n The types returned by 'data(...)' are incompatible between these types.\r\n Type 'T' is not assignable to type 'DocumentData'.\r\n\r\n26 export interface QuerySnapshot\u003cT\u003e extends firebase.firestore.QuerySnapshot {\r\n ~~~~~~~~~~~~~\r\n\r\n node_modules/@angular/fire/compat/firestore/interfaces.d.ts:26:32\r\n 26 export interface QuerySnapshot\u003cT\u003e extends firebase.firestore.QuerySnapshot {\r\n ~\r\n This type parameter might need an `extends firebase.firestore.DocumentData` constraint.\r\n\r\n\r\nError: node_modules/@angular/fire/compat/firestore/interfaces.d.ts:29:18 - error TS2430: Interface 'DocumentChange\u003cT\u003e' incorrectly extends interface 'DocumentChange\u003cDocumentData\u003e'.\r\n The types returned by 'doc.data(...)' are incompatible between these types.\r\n Type 'T' is not assignable to type 'DocumentData'.\r\n\r\n29 export interface DocumentChange\u003cT\u003e extends firebase.firestore.DocumentChange {\r\n ~~~~~~~~~~~~~~\r\n\r\n node_modules/@angular/fire/compat/firestore/interfaces.d.ts:29:33\r\n 29 export interface DocumentChange\u003cT\u003e extends firebase.firestore.DocumentChange {\r\n ~\r\n This type parameter might need an `extends firebase.firestore.DocumentData` constraint.\r\n\r\n** Errors in the JavaScript console **\r\n\r\n** Output from `firebase.database().enableLogging(true);` **\r\n\r\n** Screenshots **\r\n\r\n### Expected behavior\r\n\r\n\u003c!-- What is the expected behavior? --\u003e\r\n\r\n### Actual behavior\r\n\r\n\u003c!-- What is the actual behavior? --\u003e\r\n","author":{"url":"https://github.com/aliosmanyuksel","@type":"Person","name":"aliosmanyuksel"},"datePublished":"2022-11-18T12:03:58.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":65},"url":"https://github.com/3290/angularfire/issues/3290"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:80eeba46-7080-5ba8-f27a-27af691ad8a2 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E010:179354:9E6C2F:D63872:6A62EDE5 |
| html-safe-nonce | 99e6ecfe1078fa71b380d486f8d19f197ebf1758afd2083de8e529857f3b085b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMDEwOjE3OTM1NDo5RTZDMkY6RDYzODcyOjZBNjJFREU1IiwidmlzaXRvcl9pZCI6IjQxNDYwOTQ5MTgwMzI2MTY5MzMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 5c6f12eaad8f9717626a49527e0aba24d5aa05ce1edaa047ca7dc0a7fdc2fc2b |
| hovercard-subject-tag | issue:1454996242 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/angular/angularfire/3290/issue_layout |
| twitter:image | https://opengraph.githubassets.com/e91154b74bd0b4df9741f8b4f8ad33ac8befbdd65e784f42148eaa50805412d3/angular/angularfire/issues/3290 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/e91154b74bd0b4df9741f8b4f8ad33ac8befbdd65e784f42148eaa50805412d3/angular/angularfire/issues/3290 |
| og:image:alt | Version info Angular: 15.0.0 Firebase: 9.14.0 AngularFire: 7.4.1 Node: v16.18.1 NPM: 8.19.2 Operating system: macOS How to reproduce these conditions Failing test unit, Stackblitz demonstrating the... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | aliosmanyuksel |
| hostname | github.com |
| expected-hostname | github.com |
| None | b415018e190e73858133ddcaa36acce7b3f3572fe54dda84bd3b21a6ec714c30 |
| turbo-cache-control | no-preview |
| go-import | github.com/angular/angularfire git https://github.com/angular/angularfire.git |
| octolytics-dimension-user_id | 139426 |
| octolytics-dimension-user_login | angular |
| octolytics-dimension-repository_id | 49453413 |
| octolytics-dimension-repository_nwo | angular/angularfire |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49453413 |
| octolytics-dimension-repository_network_root_nwo | angular/angularfire |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 22f98521e99f504294ab0812b66104d50eb75a70 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width