Partager via


ServiceCreator type

Il s’agit d’un rappel utilisé par ServiceKey.createCustom().

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