@@ -31,8 +31,8 @@ import { getModularInstance } from '@firebase/util';
31
31
32
32
/**
33
33
*
34
- * @param app - The Firebase App instance.
35
- * @returns A Remote Config instance.
34
+ * @param app - The `FirebaseApp` instance.
35
+ * @returns A `RemoteConfig` instance.
36
36
*
37
37
* @public
38
38
*/
@@ -44,7 +44,7 @@ export function getRemoteConfig(app: FirebaseApp = getApp()): RemoteConfig {
44
44
45
45
/**
46
46
* Makes the last fetched config available to the getters.
47
- * @param remoteConfig - The Remote Config instance.
47
+ * @param remoteConfig - The `RemoteConfig` instance.
48
48
* @returns A promise which resolves to true if the current call activated the fetched configs.
49
49
* If the fetched configs were already activated, the promise will resolve to false.
50
50
*
@@ -75,7 +75,7 @@ export async function activate(remoteConfig: RemoteConfig): Promise<boolean> {
75
75
76
76
/**
77
77
* Ensures the last activated config are available to the getters.
78
- * @param remoteConfig - The Remote Config instance.
78
+ * @param remoteConfig - The `RemoteConfig` instance.
79
79
*
80
80
* @returns A promise that resolves when the last activated config is available to the getters.
81
81
* @public
@@ -92,7 +92,7 @@ export function ensureInitialized(remoteConfig: RemoteConfig): Promise<void> {
92
92
93
93
/**
94
94
* Fetches and caches configuration from the Remote Config service.
95
- * @param remoteConfig - The Remote Config instance.
95
+ * @param remoteConfig - The `RemoteConfig` instance.
96
96
* @public
97
97
*/
98
98
export async function fetchConfig ( remoteConfig : RemoteConfig ) : Promise < void > {
@@ -134,7 +134,7 @@ export async function fetchConfig(remoteConfig: RemoteConfig): Promise<void> {
134
134
/**
135
135
* Gets all config.
136
136
*
137
- * @param remoteConfig - The Remote Config instance.
137
+ * @param remoteConfig - The `RemoteConfig` instance.
138
138
* @returns All config.
139
139
*
140
140
* @public
@@ -155,7 +155,7 @@ export function getAll(remoteConfig: RemoteConfig): Record<string, Value> {
155
155
*
156
156
* Convenience method for calling <code>remoteConfig.getValue(key).asBoolean()</code>.
157
157
*
158
- * @param remoteConfig - The Remote Config instance.
158
+ * @param remoteConfig - The `RemoteConfig` instance.
159
159
* @param key - The name of the parameter.
160
160
*
161
161
* @returns The value for the given key as a boolean.
@@ -170,7 +170,7 @@ export function getBoolean(remoteConfig: RemoteConfig, key: string): boolean {
170
170
*
171
171
* Convenience method for calling <code>remoteConfig.getValue(key).asNumber()</code>.
172
172
*
173
- * @param remoteConfig - The Remote Config instance.
173
+ * @param remoteConfig - The `RemoteConfig` instance.
174
174
* @param key - The name of the parameter.
175
175
*
176
176
* @returns The value for the given key as a number.
@@ -185,7 +185,7 @@ export function getNumber(remoteConfig: RemoteConfig, key: string): number {
185
185
* Gets the value for the given key as a string.
186
186
* Convenience method for calling <code>remoteConfig.getValue(key).asString()</code>.
187
187
*
188
- * @param remoteConfig - The Remote Config instance.
188
+ * @param remoteConfig - The `RemoteConfig` instance.
189
189
* @param key - The name of the parameter.
190
190
*
191
191
* @returns The value for the given key as a string.
@@ -199,7 +199,7 @@ export function getString(remoteConfig: RemoteConfig, key: string): string {
199
199
/**
200
200
* Gets the {@link @firebase/remote-config-types#Value } for the given key.
201
201
*
202
- * @param remoteConfig - The Remote Config instance.
202
+ * @param remoteConfig - The `RemoteConfig` instance.
203
203
* @param key - The name of the parameter.
204
204
*
205
205
* @returns The value for the given key.
@@ -230,7 +230,7 @@ export function getValue(remoteConfig: RemoteConfig, key: string): Value {
230
230
/**
231
231
* Defines the log level to use.
232
232
*
233
- * @param remoteConfig - The Remote Config instance.
233
+ * @param remoteConfig - The `RemoteConfig` instance.
234
234
* @param logLevel - The log level to set.
235
235
*
236
236
* @public
0 commit comments