angularx-social-login icon indicating copy to clipboard operation
angularx-social-login copied to clipboard

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.

Open smargoli2 opened this issue 1 year ago • 4 comments

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.

smargoli2 avatar Dec 14 '23 11:12 smargoli2

Same issue

CapLonelyFlaw avatar Dec 20 '23 15:12 CapLonelyFlaw

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

aymenmissaouii avatar Jan 21 '24 14:01 aymenmissaouii

Same issue

pharma71 avatar Feb 02 '24 16:02 pharma71

Same issue

mvoorberg avatar Feb 04 '24 07:02 mvoorberg