Docs(typing): improve typing of bbox

This commit is contained in:
Pieter Vander Vennet 2023-05-17 13:17:37 +02:00
parent f934dad733
commit 8caa1d1ea2

View file

@ -105,7 +105,7 @@ export class BBox {
* Constructs a tilerange which fully contains this bbox (thus might be a bit larger)
* @param zoomlevel
*/
public containingTileRange(zoomlevel): TileRange {
public containingTileRange(zoomlevel: number): TileRange {
return Tiles.TileRangeBetween(zoomlevel, this.minLat, this.minLon, this.maxLat, this.maxLon)
}