@@ -60,7 +60,7 @@ export function getRemoteConfig(
6060
6161 if ( options . initialFetchResponse ) {
6262 // 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.
6464 rc . _initializePromise = Promise . all ( [
6565 rc . _storage . setLastSuccessfulFetchResponse ( options . initialFetchResponse ) ,
6666 rc . _storage . setActiveConfigEtag ( options . initialFetchResponse ?. eTag || '' ) ,
@@ -70,7 +70,7 @@ export function getRemoteConfig(
7070 options . initialFetchResponse ?. config || { }
7171 )
7272 ] ) . 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
7474 // safe to declare our initialization complete at this point.
7575 rc . _isInitializationComplete = true ;
7676 }
@@ -254,7 +254,7 @@ export function getValue(remoteConfig: RemoteConfig, key: string): Value {
254254 if ( ! rc . _isInitializationComplete ) {
255255 rc . _logger . debug (
256256 `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.'
258258 ) ;
259259 }
260260 const activeConfig = rc . _storageCache . getActiveConfig ( ) ;
@@ -265,7 +265,7 @@ export function getValue(remoteConfig: RemoteConfig, key: string): Value {
265265 }
266266 rc . _logger . debug (
267267 `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.'
269269 ) ;
270270 return new ValueImpl ( 'static' ) ;
271271}
0 commit comments