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

ShintaroNippon picture ShintaroNippon  路  3Comments

manoj150283 picture manoj150283  路  3Comments

Mahmood004 picture Mahmood004  路  3Comments

PaulieScanlon picture PaulieScanlon  路  3Comments

timkraut picture timkraut  路  3Comments