Merge pull request #499 from DavidKuennen/patch-1

[firestore] Fix _metadata not defined error in DocumentSnapshot
This commit is contained in:
Michael Diarmid
2017-10-12 17:29:52 +01:00
committed by GitHub

View File

@@ -40,7 +40,7 @@ export default class DocumentSnapshot {
}
get metadata(): SnapshotMetadata {
return _metadata;
return this._metadata;
}
get ref(): DocumentReference {