import { Component } from '@angular/core';
import { AuthDirective } from '../utils/auth.directive';
import { Router } from '@angular/router';
import { HttpClientService } from '../utils/http-client.service';
import { BaseAddressService } from '../utils/base-address.service';
import { AuthService, ClienteLogado } from '../utils/auth.service';
import {ModalUtilComponent} from '../utils/modal-util-component';
@Component({
templateUrl: './carrinho.component.html',
directives: [ Router, ModalUtilComponent ],
})
/src/app/carrinho/carrinho.component.ts (11,5): Argument of type '{ templateUrl: string; directives: typeof ModalUtilComponent[]; }' is not assignable to parameter of type 'Component'.
Object literal may only specify known properties, and 'directives' does not exist in type 'Component'.
What could be wrong?
Thank you very much!