Answer by Giregar for Could not find a declaration file for module in TypeScript
Add the following code to react-app-env.d.ts.declare module 'react-facebook-login/dist/facebook-login-render-props' { export interface RenderProps { onClick: | ((event:...
View ArticleCould not find a declaration file for module in TypeScript
I am using react-facebook-login library and TypeScript in my web app. I have also installed @types/react-facebook-login. When I import library like that, everything works fine:import ReactFacebookLogin...
View Article
More Pages to Explore .....