Skip to content

Commit 49843fc

Browse files
committed
[AUTOMATED]: Prettier Code Styling
1 parent b3e8a7b commit 49843fc

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

packages/app-types/index.d.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,10 +103,7 @@ export interface FirebaseNamespace {
103103
* @param library Name of 1p or 3p library (e.g. firestore, angularfire)
104104
* @param version Current version of that library.
105105
*/
106-
registerVersion(
107-
library: string,
108-
version: string
109-
): void
106+
registerVersion(library: string, version: string): void;
110107

111108
// The current SDK version.
112109
SDK_VERSION: string;

packages/app/src/firebaseNamespaceCore.ts

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -236,12 +236,11 @@ export function createFirebaseNamespaceCore(
236236
: null;
237237
}
238238

239-
function registerVersion(
240-
library: string,
241-
version: string
242-
): void {
239+
function registerVersion(library: string, version: string): void {
243240
if (library.match(/\s|\//)) {
244-
logger.warn(`Could not register ${library}: it contains illegal characters.`);
241+
logger.warn(
242+
`Could not register ${library}: it contains illegal characters.`
243+
);
245244
return;
246245
}
247246
registerComponent(

packages/app/src/platformLoggerService.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,8 @@ export class PlatformLoggerService {
3434
if (service && component && component.type === ComponentType.VERSION) {
3535
const platformString =
3636
// eslint-disable-next-line @typescript-eslint/no-explicit-any
37-
(PLATFORM_LOG_STRING as any)[service.library] ||
38-
service.library;
39-
return `${platformString}/${service.version}`;
37+
(PLATFORM_LOG_STRING as any)[service.library] || service.library;
38+
return `${platformString}/${service.version}`;
4039
} else {
4140
return null;
4241
}

packages/firebase/index.d.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,7 @@ declare namespace firebase {
8888
* @param library Name of 1p or 3p library (e.g. firestore, angularfire)
8989
* @param version Current version of that library.
9090
*/
91-
function registerVersion(
92-
library: string,
93-
version: string
94-
): void
91+
function registerVersion(library: string, version: string): void;
9592

9693
/**
9794
* @hidden

0 commit comments

Comments
 (0)