File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -2156,17 +2156,17 @@ declare module "@mapbox/mapbox-sdk/services/tilequery" {
21562156 */
21572157 geometry ?: GeometryType | undefined ;
21582158 /**
2159- * A comma-separated list of bands to query, rather than querying all bands.
2159+ * An array of bands to query, rather than querying all bands.
21602160 * If a specified layer does not exist, it is skipped.
21612161 * If no bands exist, returns an empty `FeatureCollection`.
21622162 */
2163- bands ?: string | undefined ;
2163+ bands ?: string [ ] | undefined ;
21642164 /**
2165- * A comma-separated list of layers to query, rather than querying all layers.
2165+ * An array of layers to query, rather than querying all layers.
21662166 * If a specified layer does not exist, it is skipped.
21672167 * If no layers exist, returns an empty `FeatureCollection`.
21682168 */
2169- layers ?: string | undefined ;
2169+ layers ?: string [ ] | undefined ;
21702170 }
21712171
21722172 interface TileQueryResponseProperty {
Original file line number Diff line number Diff line change @@ -360,8 +360,8 @@ optimizationService.getOptimization({
360360 radius : 0 ,
361361 limit : 5 ,
362362 dedupe : true ,
363- bands : "band1, band2" ,
364- layers : "layer1, layer2" ,
363+ bands : [ "band1" , " band2"] ,
364+ layers : [ "layer1" , " layer2"] ,
365365 } satisfies TileQueryRequest ,
366366 ) ;
367367
You can’t perform that action at this time.
0 commit comments