We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
x
- [x] bug report -> please search issues before submitting - [ ] feature request
@angular-devkit/architect 0.1502.10 @angular-devkit/build-angular 15.2.10 @angular-devkit/core 15.2.10 @angular-devkit/schematics 15.2.10 @angular/cdk 15.2.9 @angular/material 15.2.9 @schematics/angular 15.2.10 rxjs 7.5.7 typescript 4.9.5
MatPasswordStrengthModule.forRoot() in root module
Error: node_modules/@angular-material-extensions/password-strength/lib/component/mat-pass-toggle-visibility/mat-pass-toggle-visibility.component.d.ts:7:115 - error TS2344: Type '{ isVisible: { alias: "isVisible"; required: false; }; tabindex: { alias: "tabindex"; required: false; }; }' does not satisfy the constraint '{ [key: string]: string; }'. Property '"isVisible"' is incompatible with index signature. Type '{ alias: "isVisible"; required: false; }' is not assignable to type 'string'. 7 static ɵcmp: i0.ɵɵComponentDeclaration<MatPassToggleVisibilityComponent, "mat-pass-toggle-visibility", never, { "isVisible": { "alias": "isVisible"; "required": false; }; "tabindex": { "alias": "tabindex"; "required": false; }; }, {}, never, never, false, never>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: node_modules/@angular-material-extensions/password-strength/lib/component/mat-password-strength-info/mat-password-strength-info.component.d.ts:17:137 - error TS2344: Type '{ passwordComponent: { alias: "passwordComponent"; required: false; }; enableScoreInfo: { alias: "enableScoreInfo"; required: false; }; lowerCaseCriteriaMsg: { alias: "lowerCaseCriteriaMsg"; required: false; }; ... 6 more ...; matIconError: { ...; }; }' does not satisfy the constraint '{ [key: string]: string; }'. Property '"passwordComponent"' is incompatible with index signature. Type '{ alias: "passwordComponent"; required: false; }' is not assignable to type 'string'. 17 static ɵcmp: i0.ɵɵComponentDeclaration<MatPasswordStrengthInfoComponent, "mat-password-strength-info", ["matPasswordStrengthInfo"], { "passwordComponent": { "alias": "passwordComponent"; "required": false; }; "enableScoreInfo": { "alias": "enableScoreInfo"; "required": false; }; "lowerCaseCriteriaMsg": { "alias": "lowerCaseCriteriaMsg"; "required": false; }; "upperCaseCriteriaMsg": { "alias": "upperCaseCriteriaMsg"; "required": false; }; "digitsCriteriaMsg": { "alias": "digitsCriteriaMsg"; "required": false; }; "specialCharsCriteriaMsg": { "alias": "specialCharsCriteriaMsg"; "required": false; }; "customCharsCriteriaMsg": { "alias": "customCharsCriteriaMsg"; "required": false; }; "minCharsCriteriaMsg": { "alias": "minCharsCriteriaMsg"; "required": false; }; "matIconDone": { "alias": "matIconDone"; "required": false; }; "matIconError": { "alias": "matIconError"; "required": false; }; }, {}, never, never, false, never>; ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: node_modules/@angular-material-extensions/password-strength/lib/component/mat-password-strength/mat-password-strength.component.d.ts:56:124 - error TS2344: Type '{ password: { alias: "password"; required: false; }; externalError: { alias: "externalError"; required: false; }; enableLengthRule: { alias: "enableLengthRule"; required: false; }; enableLowerCaseLetterRule: { ...; }; ... 7 more ...; accentThreshold: { ...; }; }' does not satisfy the constraint '{ [key: string]: string; }'. Property '"password"' is incompatible with index signature. Type '{ alias: "password"; required: false; }' is not assignable to type 'string'. 56 static ɵcmp: i0.ɵɵComponentDeclaration<MatPasswordStrengthComponent, "mat-password-strength", ["matPasswordStrength"], { "password": { "alias": "password"; "required": false; }; "externalError": { "alias": "externalError"; "required": false; }; "enableLengthRule": { "alias": "enableLengthRule"; "required": false; }; "enableLowerCaseLetterRule": { "alias": "enableLowerCaseLetterRule"; "required": false; }; "enableUpperCaseLetterRule": { "alias": "enableUpperCaseLetterRule"; "required": false; }; "enableDigitRule": { "alias": "enableDigitRule"; "required": false; }; "enableSpecialCharRule": { "alias": "enableSpecialCharRule"; "required": false; }; "min": { "alias": "min"; "required": false; }; "max": { "alias": "max"; "required": false; }; "customValidator": { "alias": "customValidator"; "required": false; }; "warnThreshold": { "alias": "warnThreshold"; "required": false; }; "accentThreshold": { "alias": "accentThreshold"; "required": false; }; }, { "onStrengthChanged": "onStrengthChanged"; }, never, never, false, never>;
Tried with versions 16.0.0 and 13.0.0 Works with 12.0.1
The text was updated successfully, but these errors were encountered:
which version are u using?
Sorry, something went wrong.
No branches or pull requests
Bug Report or Feature Request (mark with an
x
)Versions
@angular-devkit/architect 0.1502.10
@angular-devkit/build-angular 15.2.10
@angular-devkit/core 15.2.10
@angular-devkit/schematics 15.2.10
@angular/cdk 15.2.9
@angular/material 15.2.9
@schematics/angular 15.2.10
rxjs 7.5.7
typescript 4.9.5
Repro steps
MatPasswordStrengthModule.forRoot() in root module
The log given by the failure
What I've tried
Tried with versions 16.0.0 and 13.0.0
Works with 12.0.1
The text was updated successfully, but these errors were encountered: