From 8caa1d1ea26688d43e981940d6cc2a405bb9f73a Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Wed, 17 May 2023 13:17:37 +0200 Subject: [PATCH] Docs(typing): improve typing of bbox --- Logic/BBox.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logic/BBox.ts b/Logic/BBox.ts index 32f02acfa..58d918d96 100644 --- a/Logic/BBox.ts +++ b/Logic/BBox.ts @@ -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) }