ngx-mask
ngx-mask copied to clipboard
Error while compiling
Angular 13.0.4 ngx-mask 14.0.3
I add "import { NgxMaskModule, IConfig } from 'ngx-mask';" in my module and when doing the "ng serve" the following error appears:

+1
Try with 13 version of ng-mask.
I'm getting the same error. Angular version 13
+1
@jalmirante Seems like we cant reproduce problem For example you could look on this https://stackblitz.com/edit/angular-material-13-starter-x1xj4z-lzamyg?file=src%2Fapp%2Fapp.module.ts,src%2Fapp%2Fapp.component.html If you still has an issue please open new issue with right template and provide stackblitz example of what you tried to do
whats solution?
@EmersonCoosta uninstall ngx-mask version 14 and install one compatible with version 13, I had this problem too and I'm using version 13.1.13 https://www.npmjs.com/package/ngx-mask/v/13.1.13
npm i [email protected]
@gabrielluizoc Obrigado, procurei muito por essa solução.