Compartilhar via


ServiceCreator type

Esta é uma chamada de retorno que é utilizada por ServiceKey.createCustom().

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