Skip to content

Commit 37c864b

Browse files
Remove no-op interface imports
1 parent 2e6b656 commit 37c864b

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

packages/firestore/lite/src/api/reference.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export class DocumentReference<T = DocumentData> extends DocumentKeyReference<
129129
}
130130
}
131131

132-
export class Query<T = DocumentData> implements Query<T> {
132+
export class Query<T = DocumentData> {
133133
readonly type: 'query' | 'collection' = 'query';
134134

135135
// This is the lite version of the Query class in the main SDK.
@@ -154,7 +154,7 @@ export type QueryConstraintType =
154154
| 'endAt'
155155
| 'endBefore';
156156

157-
export abstract class QueryConstraint implements QueryConstraint {
157+
export abstract class QueryConstraint {
158158
abstract readonly type: QueryConstraintType;
159159

160160
/**
@@ -393,8 +393,7 @@ function newQueryBoundFromDocOrFields<T>(
393393
}
394394
}
395395

396-
export class CollectionReference<T = DocumentData> extends Query<T>
397-
implements CollectionReference<T> {
396+
export class CollectionReference<T = DocumentData> extends Query<T> {
398397
readonly type = 'collection';
399398

400399
constructor(

packages/firestore/lite/src/api/write_batch.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import { invokeCommitRpc } from '../../../src/remote/datastore';
4040
import { FieldPath } from './field_path';
4141
import { getDatastore } from './components';
4242

43-
export class WriteBatch implements WriteBatch {
43+
export class WriteBatch {
4444
// This is the lite version of the WriteBatch API used in the legacy SDK. The
4545
// class is a close copy but takes different input types.
4646

0 commit comments

Comments
 (0)