We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33f60e3 commit 7566d79Copy full SHA for 7566d79
packages/performance/src/services/remote_config_service.ts
@@ -72,7 +72,7 @@ export function getConfig(iid: string): Promise<void> {
72
}
73
74
return getRemoteConfig(iid)
75
- .then(config => processConfig(config))
+ .then(processConfig)
76
.then(
77
config => storeConfig(config),
78
/** Do nothing for error, use defaults set in settings service. */
@@ -162,7 +162,7 @@ function getRemoteConfig(
162
* is valid.
163
*/
164
function processConfig(
165
- config: RemoteConfigResponse | undefined
+ config?: RemoteConfigResponse
166
): RemoteConfigResponse | undefined {
167
if (!config) {
168
return config;
0 commit comments