Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Beyond version 8.0.0 is not building with Angular 10+ #55

Open
ranajyotic1973 opened this issue Jan 23, 2021 · 2 comments
Open

Beyond version 8.0.0 is not building with Angular 10+ #55

ranajyotic1973 opened this issue Jan 23, 2021 · 2 comments

Comments

@ranajyotic1973
Copy link

IMPORTANT:
ngx-custom-validators not working with Angular 10, 11.

Steps to reproduce and a minimal demo

  • Add ngx-custom-validators to package.json of a test app created from Angular 11.
  • build the project

Current behavior
Angular compiler throws error Type 'import("/builds/xxxx/xxxxx/node_modules/ngx-custom-validators/node_modules/@angular/forms/forms").ValidatorFn' is not assignable to type 'import("/builds/xxxx/xxxx/node_modules/@angular/forms/forms").ValidatorFn

Expected/desired behavior
The code should compile without errors

Environment information

  • OS: Windows 10 Home
  • Angular Version: 11
  • Typescript version: 4.0.5
  • npm version: 6.14.9
  • Node Version: 12.8.0

Other information

@marceltielman
Copy link

same here. any solution for this?

@ranajyotic1973
Copy link
Author

Unfortunately not. I am using 8.0.0 without a problem till now. I am hoping the author will do something about the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants