DiegoSestito / ngx-cpf-cnpj

This is a simple library, containing a mask and a validator for CPF/CNPJ in the same input.
Other
6 stars 2 forks source link

Error using module #3

Open marcellalves opened 5 years ago

marcellalves commented 5 years ago

I'm trying to use the NgxCpfCnpjModule in my Angular 6 application, but I'm getting the following error:

ERROR in node_modules/ngx-cpf-cnpj/lib/cpf-cnpj-validator.directive.d.ts(6,37): error TS1144: '{' or ';' expected. node_modules/ngx-cpf-cnpj/lib/cpf-cnpj-validator.directive.d.ts(7,23): error TS1005: ';' expected. node_modules/ngx-cpf-cnpj/lib/cpf-cnpj-validator.directive.d.ts(8,1): error TS1128: Declaration or statement expected.