Поделиться через


ServiceCreator type

Это обратный вызов, используемый ServiceKey.createCustom().

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