Skip to content

Commit 1a021d3

Browse files
committed
[AUTOMATED]: Prettier Code Styling
1 parent b9735d0 commit 1a021d3

File tree

4 files changed

+22
-20
lines changed

4 files changed

+22
-20
lines changed

packages/rxfire/database/list/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ export function listVal<T>(
7272
);
7373
}
7474

75-
function positionFor(changes: QueryChange[], key: string | null):number {
75+
function positionFor(changes: QueryChange[], key: string | null): number {
7676
const len = changes.length;
7777
for (let i = 0; i < len; i++) {
7878
if (changes[i].snapshot.key === key) {
Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
/**
2-
* @license
3-
* Copyright 2018 Google Inc.
4-
*
5-
* Licensed under the Apache License, Version 2.0 (the "License");
6-
* you may not use this file except in compliance with the License.
7-
* You may obtain a copy of the License at
8-
*
9-
* http://www.apache.org/licenses/LICENSE-2.0
10-
*
11-
* Unless required by applicable law or agreed to in writing, software
12-
* distributed under the License is distributed on an "AS IS" BASIS,
13-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
* See the License for the specific language governing permissions and
15-
* limitations under the License.
16-
*/
17-
export declare const TEST_PROJECT: any;
1+
/**
2+
* @license
3+
* Copyright 2018 Google Inc.
4+
*
5+
* Licensed under the Apache License, Version 2.0 (the "License");
6+
* you may not use this file except in compliance with the License.
7+
* You may obtain a copy of the License at
8+
*
9+
* http://www.apache.org/licenses/LICENSE-2.0
10+
*
11+
* Unless required by applicable law or agreed to in writing, software
12+
* distributed under the License is distributed on an "AS IS" BASIS,
13+
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14+
* See the License for the specific language governing permissions and
15+
* limitations under the License.
16+
*/
17+
export declare const TEST_PROJECT: any;

packages/rxfire/test/database.test.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ const rando = (): string =>
4141
.toString(36)
4242
.substring(5);
4343

44-
const batch = (items: Array<{ name: string; key: string }>): Readonly<{[key: string]: unknown}> => {
44+
const batch = (
45+
items: Array<{ name: string; key: string }>
46+
): Readonly<{ [key: string]: unknown }> => {
4547
const batch: { [key: string]: unknown } = {};
4648
items.forEach(item => {
4749
batch[item.key] = item;

packages/rxfire/test/firestore.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ const unwrapChange = map((changes: firestore.DocumentChange[]) => {
5959
* Create an environment for the tests to run in. The information is returned
6060
* from the function for use within the test.
6161
*/
62-
const seedTest = (firestore: firestore.Firestore):any => {
62+
const seedTest = (firestore: firestore.Firestore): any => {
6363
const colRef = createRandomCol(firestore);
6464
const davidDoc = colRef.doc('david');
6565
davidDoc.set({ name: 'David' });

0 commit comments

Comments
 (0)