"2. Documents in AngularFirestore" needs an `undefined`
- 主要语言
- 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