From 61a910b70f9b8d3a4eae2ac489622629d79d3b77 Mon Sep 17 00:00:00 2001 From: Jiayu Liu Date: Mon, 15 Jun 2015 17:23:06 -0700 Subject: [PATCH] Canvas should extend TileLayer As per [document](http://leafletjs.com/reference.html#tilelayer-canvas), the `Canvas` interface should extend `TileLayer` --- leaflet/leaflet.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/leaflet/leaflet.d.ts b/leaflet/leaflet.d.ts index dd57395001..6dcd0ce145 100755 --- a/leaflet/leaflet.d.ts +++ b/leaflet/leaflet.d.ts @@ -3886,7 +3886,7 @@ declare module L { setParams(params: WMS, noRedraw?: boolean): WMS; } - export interface Canvas { + export interface Canvas extends TileLayer { /** * You need to define this method after creating the instance to draw tiles; * canvas is the actual canvas tile on which you can draw, tilePoint represents