-
Notifications
You must be signed in to change notification settings - Fork 55
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
Not working when upgrading to Angular 12 #57
Comments
Made a pull request for this. Tests are passing without problems. |
`Error: node_modules/ngx-custom-validators/node_modules/@angular/forms/forms.d.ts:4283:25 - error TS2694: Namespace '"Projects/node_modules/ngx-custom-validators/node_modules/@an 4283 static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<ɵNgNoValidate, "form:not([ngNoForm]):not([ngNativeValidate])", never, {}, {}, never>; Error: node_modules/ngx-custom-validators/node_modules/@angular/forms/forms.d.ts:4318:25 - error TS2694: Namespace '"Projects/node_modules/ngx-custom-validators/node_modules/@an 4318 static ɵfac: ɵngcc0.ɵɵFactoryDeclaration<ɵNgSelectMultipleOption, [null, null, { optional: true; host: true; }]>; Error: node_modules/ngx-custom-validators/node_modules/@angular/forms/forms.d.ts:4319:25 - error TS2694: Namespace '"Projects/node_modules/ngx-custom-validators/node_modules/@an 4319 static ɵdir: ɵngcc0.ɵɵDirectiveDeclaration<ɵNgSelectMultipleOption, "option", never, { "ngValue": "ngValue"; "value": "value"; }, {}, never>; I am also facing this problem. |
There is a pull request for fixing the problem but It has not been applied for a long time. I created my package to use it |
IMPORTANT:
Please be specific with an example. An issue with
Upgrade any application from Angular 11 to Angular 12
Current behavior
Fails to compile with following error:
Error: node_modules/ngx-custom-validators/src/app/url/directive.d.ts:8:25 - error TS2694: Namespace '"C:/Projects/***********/ClientApp/node_modules/ngx-custom-validators/node_modules/@angular/core/core"' has no exported member 'ɵɵDirectiveDeclaration'.
Expected/desired behavior
Compile succefully
Environment information
Other information
The text was updated successfully, but these errors were encountered: