Allow crossOrigin to be a string

This commit is contained in:
Zhang Yi Jiang
2019-02-11 15:48:39 +08:00
parent d3c3b33a7f
commit daa9a759ec
+1 -1
View File
@@ -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