mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-23 04:49:15 +08:00
missing types in declaration for source in Layer (#18241)
Add an optional extended description…
This commit is contained in:
committed by
Sheetal Nandi
parent
7f966ebe48
commit
4bb9d6ce15
2
types/mapbox-gl/index.d.ts
vendored
2
types/mapbox-gl/index.d.ts
vendored
@@ -901,7 +901,7 @@ declare namespace mapboxgl {
|
||||
metadata?: any;
|
||||
ref?: string;
|
||||
|
||||
source?: string;
|
||||
source?: string | VectorSource | RasterSource | GeoJSONSource | ImageSource | VideoSource | GeoJSONSourceRaw;
|
||||
|
||||
"source-layer"?: string;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user