0

When I am writing this export class MyTelInput implements ControlValueAccessor, MatFormFieldControl<MyTel>, OnDestroy { } in Angular 15 version then it gives error that is:

Class is using Angular features but is not decorated. Please add an explicit Angular decorator

I tried to resolve it but any type of solution is not working in 15th version. What can I do?

I tried Stack Overflow solutions and so many other solutions but this doesn't work in new Angular feature. I tried to add so many libraries and importing so many files but I fail to resolve this error only, I copy this code from Angular material and doing everything in proper manner.

halfer
  • 19,824
  • 17
  • 99
  • 186

0 Answers0