Skip to content

Commit 96220a9

Browse files
silversonicaxelAlessandro Rabitti
andauthored
🤖 Merge PR DefinitelyTyped#72247 Updated leaflet to remove wrong or unnecessary fields from TileLayer by @silversonicaxel
Co-authored-by: Alessandro Rabitti <[email protected]>
1 parent 31cf87c commit 96220a9

File tree

2 files changed

+0
-6
lines changed

2 files changed

+0
-6
lines changed

‎types/leaflet/index.d.ts‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1779,11 +1779,6 @@ export function gridLayer(options?: GridLayerOptions): GridLayer;
17791779

17801780
export interface TileLayerOptions extends GridLayerOptions {
17811781
id?: string | undefined;
1782-
accessToken?: string | undefined;
1783-
minZoom?: number | undefined;
1784-
maxZoom?: number | undefined;
1785-
maxNativeZoom?: number | undefined;
1786-
minNativeZoom?: number | undefined;
17871782
subdomains?: string | string[] | undefined;
17881783
errorTileUrl?: string | undefined;
17891784
zoomOffset?: number | undefined;

‎types/leaflet/leaflet-tests.ts‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -340,7 +340,6 @@ gridLayerOptions = {
340340
let tileLayerOptions: L.TileLayerOptions = {};
341341
tileLayerOptions = {
342342
id: "mapbox.streets",
343-
accessToken: "your.mapbox.access.token",
344343
minZoom: 0,
345344
maxZoom: 18,
346345
maxNativeZoom: 2,

0 commit comments

Comments
 (0)