Add missing type hints to `synapse.config` module.