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

supercluster types error #735

Closed
rob137 opened this issue May 29, 2019 · 2 comments
Closed

supercluster types error #735

rob137 opened this issue May 29, 2019 · 2 comments

Comments

@rob137
Copy link

rob137 commented May 29, 2019

I'm using react-mapbox-gl v4.4.0 and @types/supercluster v5.0.1.

On building / running, I get this:
ERROR in [at-loader] ./node_modules/react-mapbox-gl/lib/cluster.d.ts:4:10 TS2305: Module '"../../@types/supercluster"' has no exported member 'Supercluster'.

Can see something similar came up before, but I can't find any other mention of this issue. Am I doing something wrong?

@radeno
Copy link
Contributor

radeno commented May 30, 2019

This project still use supercluster 3.x

@rob137
Copy link
Author

rob137 commented May 31, 2019

Ah, silly me - problem solved by installing @types/supercluster@3.0.0.

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

2 participants