<div dir="ltr"><span style="font-size:12.8px;color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;background-color:rgba(248,248,248,0.6)">I'm using Openlayers v4.2.0 with typescript so I installed the typesDefinition with npm install --save @types/openlayers </span><div style="font-size:12.8px"><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;background-color:rgba(248,248,248,0.6)">I need to execute the method </span><b style="margin:0px;padding:0px;border:0px;font-variant-numeric:inherit;font-stretch:inherit;line-height:inherit;font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;vertical-align:baseline;color:rgb(36,39,41);background-color:rgba(248,248,248,0.6)">getFullTileRange()</b><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;background-color:rgba(248,248,248,0.6)"> from ol.tilegrid.TileGrid type  but is not defined in the type definition from @types/openlayers (index.d.ts).</span><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;background-color:rgba(248,248,248,0.6)"><br></span></div><div style="font-size:12.8px"><span style="color:rgb(36,39,41);font-family:Arial,"Helvetica Neue",Helvetica,sans-serif;background-color:rgba(248,248,248,0.6)">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</span></div><div style="font-size:12.8px"><p style="color:rgb(36,39,41);font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;margin:0px;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline;clear:both"><b>TypeError</b><span style="font-weight:inherit">: </span><b>tileGrid.getFullTileRange is not a function</b><span style="font-weight:inherit">.</span></p><p style="color:rgb(36,39,41);font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;margin:0px;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline;clear:both">How can I extend index.d.ts to execute that function?</p><p style="color:rgb(36,39,41);font-family:inherit;font-size:inherit;font-style:inherit;font-variant:inherit;font-weight:inherit;margin:0px;padding:0px;border:0px;font-stretch:inherit;line-height:inherit;vertical-align:baseline;clear:both">Thanks!</p></div><div class="gmail_signature"><div dir="ltr"><div><br><div><br></div></div></div></div>
</div>