mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-05 07:17:04 +00:00
[@types/mapbox-gl] Add Map.triggerRepaint (#37071)
* [@types/mapbox-gl] Add Map.triggerRepaint * [@types/mapbox-gl] fix indentation style
This commit is contained in:
Vendored
+2
@@ -162,6 +162,8 @@ declare namespace mapboxgl {
|
||||
|
||||
remove(): void;
|
||||
|
||||
triggerRepaint(): void;
|
||||
|
||||
showTileBoundaries: boolean;
|
||||
|
||||
showCollisionBoxes: boolean;
|
||||
|
||||
@@ -542,6 +542,8 @@ expectType<mapboxgl.Map>(map.fitScreenCoordinates([0, 0], pointlike, 1));
|
||||
expectType<mapboxgl.Map>(map.fitScreenCoordinates([0, 0], pointlike, 1, cameraOpts));
|
||||
expectType<mapboxgl.Map>(map.fitScreenCoordinates([0, 0], pointlike, 1, cameraOpts, { key: 'value' }));
|
||||
|
||||
expectType<void>(map.triggerRepaint());
|
||||
|
||||
/*
|
||||
* Map Events
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user