Skip to content

Commit 2db65a4

Browse files
committed
Address PR comments
1 parent 4722008 commit 2db65a4

File tree

20 files changed

+106
-106
lines changed

20 files changed

+106
-106
lines changed

packages-exp/analytics-exp/src/api.ts

Lines changed: 27 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,11 @@ declare module '@firebase/component' {
5959
}
6060

6161
/**
62-
* Returns a {@link Analytics} instance for the given app.
62+
* Returns an {@link Analytics} instance for the given app.
6363
*
6464
* @public
6565
*
66-
* @param app - The `FirebaseApp` to use.
66+
* @param app - The {@link @firebase/app#FirebaseApp} to use.
6767
*/
6868
export function getAnalytics(app: FirebaseApp = getApp()): Analytics {
6969
app = getModularInstance(app);
@@ -81,11 +81,11 @@ export function getAnalytics(app: FirebaseApp = getApp()): Analytics {
8181
}
8282

8383
/**
84-
* Returns a {@link Analytics} instance for the given app.
84+
* Returns an {@link Analytics} instance for the given app.
8585
*
8686
* @public
8787
*
88-
* @param app - The `FirebaseApp` to use.
88+
* @param app - The {@link @firebase/app#FirebaseApp} to use.
8989
*/
9090
export function initializeAnalytics(
9191
app: FirebaseApp,
@@ -216,7 +216,7 @@ export function setAnalyticsCollectionEnabled(
216216
).catch(e => logger.error(e));
217217
}
218218
/**
219-
* Sends Google Analytics event with given `eventParams`. This method
219+
* Sends a Google Analytics event with given `eventParams`. This method
220220
* automatically associates this logged event with this Firebase web
221221
* app instance on this device.
222222
* @public
@@ -239,7 +239,7 @@ export function logEvent(
239239
): void;
240240

241241
/**
242-
* Sends Google Analytics event with given `eventParams`. This method
242+
* Sends a Google Analytics event with given `eventParams`. This method
243243
* automatically associates this logged event with this Firebase web
244244
* app instance on this device.
245245
* @public
@@ -262,7 +262,7 @@ export function logEvent(
262262
): void;
263263

264264
/**
265-
* Sends Google Analytics event with given `eventParams`. This method
265+
* Sends a Google Analytics event with given `eventParams`. This method
266266
* automatically associates this logged event with this Firebase web
267267
* app instance on this device.
268268
* @public
@@ -283,7 +283,7 @@ export function logEvent(
283283
): void;
284284

285285
/**
286-
* Sends Google Analytics event with given `eventParams`. This method
286+
* Sends a Google Analytics event with given `eventParams`. This method
287287
* automatically associates this logged event with this Firebase web
288288
* app instance on this device.
289289
* @public
@@ -305,7 +305,7 @@ export function logEvent(
305305
): void;
306306

307307
/**
308-
* Sends Google Analytics event with given `eventParams`. This method
308+
* Sends a Google Analytics event with given `eventParams`. This method
309309
* automatically associates this logged event with this Firebase web
310310
* app instance on this device.
311311
* @public
@@ -329,7 +329,7 @@ export function logEvent(
329329
): void;
330330

331331
/**
332-
* Sends Google Analytics event with given `eventParams`. This method
332+
* Sends a Google Analytics event with given `eventParams`. This method
333333
* automatically associates this logged event with this Firebase web
334334
* app instance on this device.
335335
* @public
@@ -349,7 +349,7 @@ export function logEvent(
349349
): void;
350350

351351
/**
352-
* Sends Google Analytics event with given `eventParams`. This method
352+
* Sends a Google Analytics event with given `eventParams`. This method
353353
* automatically associates this logged event with this Firebase web
354354
* app instance on this device.
355355
* @public
@@ -369,7 +369,7 @@ export function logEvent(
369369
): void;
370370

371371
/**
372-
* Sends Google Analytics event with given `eventParams`. This method
372+
* Sends a Google Analytics event with given `eventParams`. This method
373373
* automatically associates this logged event with this Firebase web
374374
* app instance on this device.
375375
* @public
@@ -388,7 +388,7 @@ export function logEvent(
388388
): void;
389389

390390
/**
391-
* Sends Google Analytics event with given `eventParams`. This method
391+
* Sends a Google Analytics event with given `eventParams`. This method
392392
* automatically associates this logged event with this Firebase web
393393
* app instance on this device.
394394
* @public
@@ -409,7 +409,7 @@ export function logEvent(
409409
): void;
410410

411411
/**
412-
* Sends Google Analytics event with given `eventParams`. This method
412+
* Sends a Google Analytics event with given `eventParams`. This method
413413
* automatically associates this logged event with this Firebase web
414414
* app instance on this device.
415415
* @public
@@ -435,7 +435,7 @@ export function logEvent(
435435
): void;
436436

437437
/**
438-
* Sends Google Analytics event with given `eventParams`. This method
438+
* Sends a Google Analytics event with given `eventParams`. This method
439439
* automatically associates this logged event with this Firebase web
440440
* app instance on this device.
441441
* @public
@@ -454,7 +454,7 @@ export function logEvent(
454454
): void;
455455

456456
/**
457-
* Sends Google Analytics event with given `eventParams`. This method
457+
* Sends a Google Analytics event with given `eventParams`. This method
458458
* automatically associates this logged event with this Firebase web
459459
* app instance on this device.
460460
* @public
@@ -473,7 +473,7 @@ export function logEvent(
473473
): void;
474474

475475
/**
476-
* Sends Google Analytics event with given `eventParams`. This method
476+
* Sends a Google Analytics event with given `eventParams`. This method
477477
* automatically associates this logged event with this Firebase web
478478
* app instance on this device.
479479
* @public
@@ -493,7 +493,7 @@ export function logEvent(
493493
): void;
494494

495495
/**
496-
* Sends Google Analytics event with given `eventParams`. This method
496+
* Sends a Google Analytics event with given `eventParams`. This method
497497
* automatically associates this logged event with this Firebase web
498498
* app instance on this device.
499499
* @public
@@ -514,7 +514,7 @@ export function logEvent(
514514
): void;
515515

516516
/**
517-
* Sends Google Analytics event with given `eventParams`. This method
517+
* Sends a Google Analytics event with given `eventParams`. This method
518518
* automatically associates this logged event with this Firebase web
519519
* app instance on this device.
520520
* @public
@@ -535,7 +535,7 @@ export function logEvent(
535535
): void;
536536

537537
/**
538-
* Sends Google Analytics event with given `eventParams`. This method
538+
* Sends a Google Analytics event with given `eventParams`. This method
539539
* automatically associates this logged event with this Firebase web
540540
* app instance on this device.
541541
* @public
@@ -555,7 +555,7 @@ export function logEvent(
555555
): void;
556556

557557
/**
558-
* Sends Google Analytics event with given `eventParams`. This method
558+
* Sends a Google Analytics event with given `eventParams`. This method
559559
* automatically associates this logged event with this Firebase web
560560
* app instance on this device.
561561
* @public
@@ -576,7 +576,7 @@ export function logEvent(
576576
): void;
577577

578578
/**
579-
* Sends Google Analytics event with given `eventParams`. This method
579+
* Sends a Google Analytics event with given `eventParams`. This method
580580
* automatically associates this logged event with this Firebase web
581581
* app instance on this device.
582582
* @public
@@ -595,7 +595,7 @@ export function logEvent(
595595
): void;
596596

597597
/**
598-
* Sends Google Analytics event with given `eventParams`. This method
598+
* Sends a Google Analytics event with given `eventParams`. This method
599599
* automatically associates this logged event with this Firebase web
600600
* app instance on this device.
601601
* @public
@@ -617,7 +617,7 @@ export function logEvent(
617617
): void;
618618

619619
/**
620-
* Sends Google Analytics event with given `eventParams`. This method
620+
* Sends a Google Analytics event with given `eventParams`. This method
621621
* automatically associates this logged event with this Firebase web
622622
* app instance on this device.
623623
* @public
@@ -638,7 +638,7 @@ export function logEvent(
638638
): void;
639639

640640
/**
641-
* Sends Google Analytics event with given `eventParams`. This method
641+
* Sends a Google Analytics event with given `eventParams`. This method
642642
* automatically associates this logged event with this Firebase web
643643
* app instance on this device.
644644
* @public
@@ -659,7 +659,7 @@ export function logEvent(
659659
): void;
660660

661661
/**
662-
* Sends Google Analytics event with given `eventParams`. This method
662+
* Sends a Google Analytics event with given `eventParams`. This method
663663
* automatically associates this logged event with this Firebase web
664664
* app instance on this device.
665665
* @public
@@ -675,7 +675,7 @@ export function logEvent<T extends string>(
675675
): void;
676676

677677
/**
678-
* Sends Google Analytics event with given `eventParams`. This method
678+
* Sends a Google Analytics event with given `eventParams`. This method
679679
* automatically associates this logged event with this Firebase web
680680
* app instance on this device.
681681
* List of official event parameters can be found in the gtag.js

packages-exp/analytics-exp/src/public-types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export interface GtagConfigParams {
8080
}
8181

8282
/**
83-
* Firebase Analytics instance initialization options.
83+
* {@link Analytics} instance initialization options.
8484
* @public
8585
*/
8686
export interface AnalyticsSettings {
@@ -92,7 +92,7 @@ export interface AnalyticsSettings {
9292
}
9393

9494
/**
95-
* Additional options that can be passed to Firebase Analytics method
95+
* Additional options that can be passed to Analytics method
9696
* calls such as `logEvent`, `setCurrentScreen`, etc.
9797
* @public
9898
*/
@@ -110,7 +110,7 @@ export interface AnalyticsCallOptions {
110110
*/
111111
export interface Analytics {
112112
/**
113-
* The `FirebaseApp` this {@link Analytics} instance is associated with.
113+
* The {@link @firebase/app#FirebaseApp} this {@link Analytics} instance is associated with.
114114
*/
115115
app: FirebaseApp;
116116
}

packages-exp/app-check-exp/src/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ export { ReCaptchaV3Provider, CustomProvider } from './providers';
4444

4545
/**
4646
* Activate App Check for the given app. Can be called only once per app.
47-
* @param app - the `FirebaseApp` to activate App Check for
47+
* @param app - the {@link @firebase/app#FirebaseApp} to activate App Check for
4848
* @param options - App Check initialization options
4949
* @public
5050
*/
@@ -193,7 +193,7 @@ export function onTokenChanged(
193193
onCompletion?: () => void
194194
): Unsubscribe;
195195
/**
196-
* Wraps addTokenListener/removeTokenListener methods in an `Observer`
196+
* Wraps `addTokenListener`/`removeTokenListener` methods in an `Observer`
197197
* pattern for public use.
198198
*/
199199
export function onTokenChanged(

packages-exp/app-check-exp/src/public-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export { Unsubscribe, PartialObserver } from '@firebase/util';
2626
*/
2727
export interface AppCheck {
2828
/**
29-
* The `FirebaseApp` this `AppCheck` instance is associated with.
29+
* The {@link @firebase/app#FirebaseApp} this `AppCheck` instance is associated with.
3030
*/
3131
app: FirebaseApp;
3232
}

packages-exp/app-exp/src/api.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ import { deepEqual } from '@firebase/util';
4949
export const SDK_VERSION = version;
5050

5151
/**
52-
* Creates and initializes a `FirebaseApp` instance.
52+
* Creates and initializes a {@link @firebase/app#FirebaseApp} instance.
5353
*
5454
* See
5555
* {@link
@@ -156,7 +156,7 @@ export function initializeApp(
156156
}
157157

158158
/**
159-
* Retrieves a `FirebaseApp` instance.
159+
* Retrieves a {@link @firebase/app#FirebaseApp} instance.
160160
*
161161
* When called with no arguments, the default app is returned. When an app name
162162
* is provided, the app corresponding to that name is returned.

packages-exp/app-exp/src/public-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import { ComponentContainer } from '@firebase/component';
1919
import { PlatformLoggerService, VersionService } from './types';
2020

2121
/**
22-
* A `FirebaseApp` holds the initialization information for a collection of
22+
* A {@link @firebase/app#FirebaseApp} holds the initialization information for a collection of
2323
* services.
2424
*
2525
* Do not call this constructor directly. Instead, use

packages-exp/auth-exp/src/core/action_code_url.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ export class ActionCodeURL {
115115

116116
/**
117117
* @param actionLink - The link from which to extract the URL.
118-
* @returns The ActionCodeURL object, or null if the link is invalid.
118+
* @returns The {@link ActionCodeURL} object, or null if the link is invalid.
119119
*
120120
* @internal
121121
*/
@@ -139,7 +139,7 @@ export class ActionCodeURL {
139139
* otherwise returns null.
140140
*
141141
* @param link - The email action link string.
142-
* @returns The `ActionCodeURL` object, or null if the link is invalid.
142+
* @returns The {@link ActionCodeURL} object, or null if the link is invalid.
143143
*
144144
* @public
145145
*/

packages-exp/auth-exp/src/model/public_types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -358,7 +358,7 @@ export interface Persistence {
358358
* Interface representing ID token result obtained from {@link User.getIdTokenResult}.
359359
*
360360
* @remarks
361-
* It contains the ID token JWT string and other helper properties for getting different data
361+
* `IdTokenResult` contains the ID token JWT string and other helper properties for getting different data
362362
* associated with the token as well as all the decoded payload claims.
363363
*
364364
* Note that these claims are not to be trusted as they are parsed client side. Only server side

packages-exp/functions-exp/src/api.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export * from './public-types';
3232

3333
/**
3434
* Returns a {@link Functions} instance for the given app.
35-
* @param app - The `FirebaseApp` to use.
35+
* @param app - The {@link @firebase/app#FirebaseApp} to use.
3636
* @param regionOrCustomDomain - one of:
3737
* a) The region the callable functions are located in (ex: us-central1)
3838
* b) A custom domain hosting the callable functions (ex: https://mydomain.com)

packages-exp/functions-exp/src/public-types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,12 +50,12 @@ export interface HttpsCallableOptions {
5050
}
5151

5252
/**
53-
* An instance of Firebase Functions.
53+
* A `Functions` instance.
5454
* @public
5555
*/
5656
export interface Functions {
5757
/**
58-
* The `FirebaseApp` this `Functions` instance is associated with.
58+
* The {@link @firebase/app#FirebaseApp} this `Functions` instance is associated with.
5959
*/
6060
app: FirebaseApp;
6161

packages-exp/installations-exp/src/api/get-installations.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ import { FirebaseApp, getApp, _getProvider } from '@firebase/app-exp';
1919
import { Installations } from '../interfaces/public-types';
2020

2121
/**
22-
* Returns an instance of Firebase Installations associated with the given
23-
* `FirebaseApp` instance.
24-
* @param app - The `FirebaseApp` instance.
22+
* Returns an instance of {@link Installations} associated with the given
23+
* {@link @firebase/app#FirebaseApp} instance.
24+
* @param app - The {@link @firebase/app#FirebaseApp} instance.
2525
*
2626
* @public
2727
*/

packages-exp/performance-exp/src/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ const DEFAULT_ENTRY_NAME = '[DEFAULT]';
5151

5252
/**
5353
* Returns a {@link FirebasePerformance} instance for the given app.
54-
* @param app - The `FirebaseApp` to use.
54+
* @param app - The {@link @firebase/app#FirebaseApp} to use.
5555
* @public
5656
*/
5757
export function getPerformance(
@@ -65,7 +65,7 @@ export function getPerformance(
6565

6666
/**
6767
* Returns a {@link FirebasePerformance} instance for the given app. Can only be called once.
68-
* @param app - The `FirebaseApp` to use.
68+
* @param app - The {@link @firebase/app#FirebaseApp} to use.
6969
* @param settings - Optional settings for the {@link FirebasePerformance} instance.
7070
* @public
7171
*/

0 commit comments

Comments
 (0)