React-google-maps: Missing typing for "Calculator", "ClusterIconStyle" and "Cluster"

Created on 21 Jan 2018  路  3Comments  路  Source: tomchentw/react-google-maps

See below screenshot for the latest package from NPM, seems like we are missing some typing interface. The compiler complains cannot find those type.

If anyone can point me to the description of those data type. I can submit a PR to fix the error.

image

Most helpful comment

You need to install @types/markerclustererplus to fix that issue, maybe it should be added as a dependency to this package?

All 3 comments

You need to install @types/markerclustererplus to fix that issue, maybe it should be added as a dependency to this package?

I'm still getting this error, even with both @types/googlemaps and @types/markerclustererplus added as dependencies. Any ideas?

@nickdb93 Make sure to add it to your tsconfig.json like so:

    "types": [
      "googlemaps",
      "markerclustererplus"
    ]
Was this page helpful?
0 / 5 - 0 ratings

Related issues

johnantoni picture johnantoni  路  3Comments

wayofthefuture picture wayofthefuture  路  3Comments

madbean picture madbean  路  3Comments

farhan687 picture farhan687  路  3Comments

EvHaus picture EvHaus  路  3Comments