anthonyjgrove / react-google-login

A React Google Login Component
https://anthonyjgrove.github.io/react-google-login
MIT License
1.85k stars 426 forks source link

JSX element type 'GoogleLogin' is not a constructor function for JSX elements. TS2605 #516

Open Mkhmalech opened 2 years ago

Mkhmalech commented 2 years ago

Hi I got this problem in my console when I checked d.ts and change extends Component<GoogleLoginProps, unknown> to Component<GoogleLoginProps, any> the problem is fixed

but I want to fix it from my code so I can install my repo and run it everywhere without changing the d.ts file

Mkhmalech commented 2 years ago

error fixed and wait for pr to be accepted