angular / angular/angularfire

"2. Documents in AngularFirestore" needs an `undefined`

未關閉
#3,201 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
7.8k
分支
2.2k
平均合併
22 小時 28 分鐘
30 天內合併 PR
6

描述

In

https://github.com/angular/angularfire/blob/master/docs/firestore/documents.md

line 17 is:

```ts
item: Observable;
```

should be

```ts
item: Observable;
```

Everything else works perfectly. Thanks!

### Version info

**Angular:**

**Firebase:**

**AngularFire:**

**Other (e.g. Ionic/Cordova, Node, browser, operating system):**

### How to reproduce these conditions

**Failing test unit, Stackblitz demonstrating the problem**

**Steps to set up and reproduce**

**Sample data and security rules**

### Debug output

** Errors in the JavaScript console **

** Output from `firebase.database().enableLogging(true);` **

** Screenshots **

### Expected behavior

### Actual behavior

貢獻指南

開啟貢獻指南

研究方向

開啟 docs/firestore/documents.md 並檢查第 17 行,其中 AngularFirestore 文件範例宣告了 item。更新 Observable 型別以包含 undefined,然後確認該範例符合要求的型別,並且仍是有效的 TypeScript。

由索引模型根據 Issue 內容生成。

評估

技術堆疊
angular, firebase, typescript
領域
documentation
Issue 類型
文件
難度
1/5
預估耗時
1 小時以內
活躍度
停滯
描述清晰度
描述清楚
新手友好度
50/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。