Skip to content

Commit e804df1

Browse files
Lint
1 parent c69e121 commit e804df1

File tree

5 files changed

+1
-8
lines changed

5 files changed

+1
-8
lines changed

packages/firestore/lite/test/integration.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -721,7 +721,7 @@ describe('DocumentSnapshot', () => {
721721
{ bytes: Bytes.fromBase64String('aa') },
722722
async docRef => {
723723
const docSnap = await getDoc(docRef);
724-
let bytes = docSnap.get('bytes')!;
724+
const bytes = docSnap.get('bytes')!;
725725
expect(bytes.constructor.name).to.equal('Bytes');
726726
}
727727
);

packages/firestore/src/api/blob.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,10 +53,6 @@ function assertBase64Available(): void {
5353
* using the hack above to make sure no-one outside this module can call it.
5454
*/
5555
export class Blob extends Bytes {
56-
constructor(byteString: ByteString) {
57-
super(byteString);
58-
}
59-
6056
static fromBase64String(base64: string): Blob {
6157
validateExactNumberOfArgs('Blob.fromBase64String', arguments, 1);
6258
validateArgType('Blob.fromBase64String', 'string', 1, base64);

packages/firestore/src/api/user_data_reader.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ import {
4646
toResourceName,
4747
toTimestamp
4848
} from '../remote/serializer';
49-
import { Blob } from './blob';
5049
import { BaseFieldPath, fromDotSeparatedString } from './field_path';
5150
import { DeleteFieldValueImpl, SerializableFieldValue } from './field_value';
5251
import { GeoPoint } from './geo_point';

packages/firestore/src/api/user_data_writer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ import {
2525
Value as ProtoValue
2626
} from '../protos/firestore_proto_api';
2727
import { DocumentKeyReference } from './user_data_reader';
28-
import { Blob } from './blob';
2928
import { GeoPoint } from './geo_point';
3029
import { Timestamp } from './timestamp';
3130
import { DatabaseId } from '../core/database_info';

packages/firestore/src/remote/serializer.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
* limitations under the License.
1616
*/
1717

18-
import { Blob } from '../api/blob';
1918
import { Timestamp } from '../api/timestamp';
2019
import { DatabaseId } from '../core/database_info';
2120
import {

0 commit comments

Comments
 (0)