We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b60db7a commit d32d192Copy full SHA for d32d192
packages/firestore/src/api/database.ts
@@ -1821,11 +1821,14 @@ export class Query<T = PublicDocumentData> implements PublicQuery<T> {
1821
}
1822
1823
export class DocumentChange<T = PublicDocumentData>
1824
+ extends Compat<ExpDocumentChange<T>>
1825
implements PublicDocumentChange<T> {
1826
constructor(
1827
private readonly _firestore: Firestore,
- private readonly _delegate: ExpDocumentChange<T>
1828
- ) {}
+ delegate: ExpDocumentChange<T>
1829
+ ) {
1830
+ super(delegate);
1831
+ }
1832
1833
get type(): PublicDocumentChangeType {
1834
return this._delegate.type;
0 commit comments