@@ -60,7 +60,7 @@ export function getRemoteConfig(
60
60
61
61
if ( options . initialFetchResponse ) {
62
62
// We use these initial writes as the initialization promise since they will hydrate the same
63
- // fields that storageCache.loadFromStorage would set.
63
+ // fields that ` storageCache.loadFromStorage` would set.
64
64
rc . _initializePromise = Promise . all ( [
65
65
rc . _storage . setLastSuccessfulFetchResponse ( options . initialFetchResponse ) ,
66
66
rc . _storage . setActiveConfigEtag ( options . initialFetchResponse ?. eTag || '' ) ,
@@ -70,7 +70,7 @@ export function getRemoteConfig(
70
70
options . initialFetchResponse ?. config || { }
71
71
)
72
72
] ) . then ( ) ;
73
- // The storageCache methods above set their in-memory fields sycnhronously , so it's
73
+ // The ` storageCache` methods above set their in-memory fields synchronously , so it's
74
74
// safe to declare our initialization complete at this point.
75
75
rc . _isInitializationComplete = true ;
76
76
}
@@ -254,7 +254,7 @@ export function getValue(remoteConfig: RemoteConfig, key: string): Value {
254
254
if ( ! rc . _isInitializationComplete ) {
255
255
rc . _logger . debug (
256
256
`A value was requested for key "${ key } " before SDK initialization completed.` +
257
- ' Await on ensureInitialized if the intent was to get a previously activated value.'
257
+ ' Await on ensureInitialized if the intent was to get a previously activated value.'
258
258
) ;
259
259
}
260
260
const activeConfig = rc . _storageCache . getActiveConfig ( ) ;
@@ -265,7 +265,7 @@ export function getValue(remoteConfig: RemoteConfig, key: string): Value {
265
265
}
266
266
rc . _logger . debug (
267
267
`Returning static value for key "${ key } ".` +
268
- ' Define a default or remote value if this is unintentional.'
268
+ ' Define a default or remote value if this is unintentional.'
269
269
) ;
270
270
return new ValueImpl ( 'static' ) ;
271
271
}
0 commit comments