How to provide the ExternalEnumerationProvider in the "Confog property"

Question on behalf of @andreas-fresh-mesa:

For 2020.02 the documentation on external enums says:

The ExternalEnumerationProvider, which delivers the enumeration values, needs to be provided via the Config property and when creating the engines middlewares using createEngineMiddlewares.

<INTERNAL_LINK>

I’m struggling with the “Config property”. How do I exactly provide it there? Is this in the app setup? The code example in the documentation doesn’t help me either:

export const config: Partial<Config> = {
  externalEnumerationProvider: emptyExternalEnumerationProvider
}; 

Where do I need to pass this object?