abacritt / angularx-social-login

Social login and authentication module for Angular 17
630 stars 388 forks source link

Error: Type '{ type: { alias: "type"; required: false; }; size: { alias: "size"; required: false; }; text: { alias: "text"; required: false; }; shape: { alias: "shape"; required: false; }; theme: { alias: "theme"; required: false; }; logo_alignment: { ...; }; width: { ...; }; locale: { ...; }; }' does not satisfy the constraint '{ [key: string]: string; }'. Property '"type"' is incompatible with index signature. #743

Open smargoli2 opened 6 months ago

smargoli2 commented 6 months ago

I just installed the latest version of abacritt/angularx-social-login from npm. I am getting a compilation issue in @abacritt\angularx-social-login\directives\google-signin-button.directive.d.ts.

Type '{ type: { alias: "type"; required: false; }; size: { alias: "size"; required: false; }; text: { alias: "text"; required: false; }; shape: { alias: "shape"; required: false; }; theme: { alias: "theme"; required: false; }; logo_alignment: { ...; }; width: { ...; }; locale: { ...; }; }' 
does not satisfy the constraint '{ [key: string]: string; }'.
  Property '"type"' is incompatible with index signature.
CapLonelyFlaw commented 6 months ago

Same issue

aymenmissaouii commented 5 months ago

Same, I downgraded the version, but I still encounter the same issue.

pharma71 commented 5 months ago

Same issue

mvoorberg commented 4 months ago

Same issue