ServiceCreator type

This is a callback that is used by ServiceKey.createCustom().

export type ServiceCreator<T> = ((serviceScope: IServiceScope) => T) | ((serviceScope: ServiceScope) => T);