How to use use-supercluster with Typescript
问题 I am having troubles while implementing use-supercluster with TypeScript. I am trying to use clusters to differentiate two types of data in a Google Map with something like red clusters vs. green clusters. I can't find any documentation related to use this library with TypeScript and I am not getting enough information from its types: So, what is argument P ? I was following the use-supercluster creator's guide to add clusters but after installing supercluster types I am getting errors here: