[FR] Compile this library in strict mode #642
Labels
priority: p3
Desirable enhancement or fix. May not be included in next release.
type: bug
Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
There are a few typing issues in the code
i.e.
https://github.com/googlemaps/js-markerclusterer/blob/e8eecf49b1d1f59579f3316c705f2c131b796560/src/algorithms/grid.ts#LL49C1-L61C4
this.state = { zoom: null };
is not compatible withprotected state: { zoom: number };
This lib should be compiled with
{ strict: true}
in thetsconfig.json
.WDYT @amuramoto ?
(I could volunteer to help)
The text was updated successfully, but these errors were encountered: