I'm using Openlayers v4.2.0 with typescript so I installed the typesDefinition with npm install --save @types/openlayers I need to execute the method *getFullTileRange()* from ol.tilegrid.TileGrid type but is not defined in the type definition from @types/openlayers (index.d.ts). First I get a compilation error because getFullTileRange method is not declared in index.d.ts. I try to modify index.d.ts adding this method (inside my IDE to skip compilation errors) but running my app I get this exection error
*TypeError*: *tileGrid.getFullTileRange is not a function*. How can I extend index.d.ts to execute that function? Thanks!
_______________________________________________ Users mailing list us...@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/openlayers-users