Skip to content
New issue

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

Could not find declaration for module #50

Closed
mohridwanhdp opened this issue Sep 9, 2019 · 2 comments
Closed

Could not find declaration for module #50

mohridwanhdp opened this issue Sep 9, 2019 · 2 comments

Comments

@mohridwanhdp
Copy link

I can't run my app because the import proccess always says
"Could not find a declaration file for module 'react-map-gl-geocoder'. '/..../app-map/node_modules/react-map-gl-geocoder/dist/index.js' implicitly has an 'any' type."

Can you help me how to fix it?

I had install the react-map-gl-geocoder

line_20190909_174732

@SamSamskies
Copy link
Owner

SamSamskies commented Sep 9, 2019

Seems like you're using TypeScript. Currently, there are no published types for this lib. You can use shorthand declaration to explicitly define this module as an 'any' type. https://www.typescriptlang.org/docs/handbook/modules.html#shorthand-ambient-modules

@mikiyasgirma
Copy link

×
TypeError: i._requestDomTask is not a function

Hey Sam, This is what I am getting when I selected the results from the recommendation. Please help me with what shall I do. Thank you in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants