Skip to content

Commit 02731f4

Browse files
committed
chore: lint fix
1 parent 602ca5c commit 02731f4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/mapbox.ios.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2156,7 +2156,7 @@ export class Mapbox extends MapboxCommon implements MapboxApi {
21562156
}
21572157
}
21582158
if (options.bounds) {
2159-
sourceOptions[MGLTileSourceOptionCoordinateBounds] = NSValue.valueWithMGLCoordinateBounds({
2159+
sourceOptions[MGLTileSourceOptionCoordinateBounds] = (NSValue as any).valueWithMGLCoordinateBounds({
21602160
sw: CLLocationCoordinate2DMake(options.bounds[1], options.bounds[0]),
21612161
ne: CLLocationCoordinate2DMake(options.bounds[3], options.bounds[2]),
21622162
});
@@ -2213,7 +2213,7 @@ export class Mapbox extends MapboxCommon implements MapboxApi {
22132213
}
22142214

22152215
if (options.bounds) {
2216-
sourceOptions[MGLTileSourceOptionCoordinateBounds] = NSValue.valueWithMGLCoordinateBounds(({
2216+
sourceOptions[MGLTileSourceOptionCoordinateBounds] = (NSValue as any).valueWithMGLCoordinateBounds(({
22172217
sw: CLLocationCoordinate2DMake(options.bounds[1], options.bounds[0]),
22182218
ne: CLLocationCoordinate2DMake(options.bounds[3], options.bounds[2]),
22192219
}));

0 commit comments

Comments
 (0)