diff --git a/types/heremaps/heremaps-tests.ts b/types/heremaps/heremaps-tests.ts index 31d722f042..216040c68a 100644 --- a/types/heremaps/heremaps-tests.ts +++ b/types/heremaps/heremaps-tests.ts @@ -80,3 +80,7 @@ captureBtn.onclick = () => { }; let icon = new H.map.Icon('svg', { size: 5, crossOrigin: false }); + +let polyline = new H.map.Polyline(new H.geo.Strip()); +let clipArr: Array>; +clipArr = polyline.clip(new H.geo.Rect(5, 5, 5, 5));