diff --git a/lib/utils/config.js b/lib/utils/config.js --- a/lib/utils/config.js +++ b/lib/utils/config.js @@ -24,7 +24,7 @@ let registeredConfig: ?Config = null; -const registerConfig = (config: $Shape) => { +const registerConfig = (config: Config) => { registeredConfig = { ...registeredConfig, ...config }; };