diff --git a/packages/remote-config/lib/index.d.ts b/packages/remote-config/lib/index.d.ts index a8d199b6e3..4cd8333b0f 100644 --- a/packages/remote-config/lib/index.d.ts +++ b/packages/remote-config/lib/index.d.ts @@ -364,7 +364,7 @@ export namespace FirebaseRemoteConfigTypes { /** * Moves fetched data to the apps active config. - * Resolves with a boolean value of whether the fetched config was moved successfully. + * Resolves with a boolean value true if new local values were activated * * #### Example * @@ -395,6 +395,7 @@ export namespace FirebaseRemoteConfigTypes { /** * Fetches the remote config data from Firebase, as defined in the dashboard. If duration is defined (seconds), data will be locally cached for this duration. + * Returns true only if new values were fetched, false otherwise. * * #### Example * @@ -410,7 +411,7 @@ export namespace FirebaseRemoteConfigTypes { /** * Fetches the remote config data from Firebase, as defined in the dashboard. * - * Once fetching is complete this method immediately calls activate and returns a boolean value of the activation status. + * Once fetching is complete this method immediately calls activate and returns a boolean value true if new values were fetched * * #### Example * @@ -419,9 +420,9 @@ export namespace FirebaseRemoteConfigTypes { * const fetchedRemotely = await firebase.remoteConfig().fetchAndActivate(); * * if (fetchedRemotely) { - * console.log('Configs were retrieved from the backend and activated.'); + * console.log('New configs were retrieved from the backend and activated.'); * } else { - * console.log('No configs were fetched from the backend, and the local configs were already activated'); + * console.log('No new configs were fetched from the backend, and the local configs were already activated'); * } * ``` *