Skip to content

Commit ed2a080

Browse files
committed
CARTO: Make autoLabels prop optional (#9593)
1 parent f0dc529 commit ed2a080

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/carto/src/layers/vector-tile-layer.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ type _VectorTileLayerProps = {
4848
* If true, create labels for lines and polygons.
4949
* Specify uniqueIdProperty to only create a single label for each unique feature.
5050
*/
51-
autoLabels: boolean | {uniqueIdProperty: string};
51+
autoLabels?: boolean | {uniqueIdProperty: string};
5252
};
5353

5454
// @ts-ignore

0 commit comments

Comments
 (0)