From daa9a759ecd84b0edf42ce43ab94b07d739c7fc4 Mon Sep 17 00:00:00 2001 From: Zhang Yi Jiang Date: Mon, 11 Feb 2019 15:41:45 +0800 Subject: [PATCH] Allow crossOrigin to be a string --- types/leaflet/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/leaflet/index.d.ts b/types/leaflet/index.d.ts index 3afadc435c..a450e8c9f6 100644 --- a/types/leaflet/index.d.ts +++ b/types/leaflet/index.d.ts @@ -494,7 +494,7 @@ export interface TileLayerOptions extends GridLayerOptions { tms?: boolean; zoomReverse?: boolean; detectRetina?: boolean; - crossOrigin?: boolean; + crossOrigin?: boolean | string; // [name: string]: any; // You are able add additional properties, but it makes this interface unchackable. // See: https://github.com/DefinitelyTyped/DefinitelyTyped/issues/15313