From 59dfc1e43456fd4e853ff92335a21390ad140ee3 Mon Sep 17 00:00:00 2001 From: Bernd Hacker Date: Mon, 12 Jun 2017 15:54:08 +0200 Subject: [PATCH] fix failing test --- types/heremaps/heremaps-tests.ts | 1 + types/heremaps/index.d.ts | 1 + 2 files changed, 2 insertions(+) diff --git a/types/heremaps/heremaps-tests.ts b/types/heremaps/heremaps-tests.ts index 216040c68a..01360c1bdf 100644 --- a/types/heremaps/heremaps-tests.ts +++ b/types/heremaps/heremaps-tests.ts @@ -82,5 +82,6 @@ captureBtn.onclick = () => { let icon = new H.map.Icon('svg', { size: 5, crossOrigin: false }); let polyline = new H.map.Polyline(new H.geo.Strip()); +// tslint:disable-next-line:array-type let clipArr: Array>; clipArr = polyline.clip(new H.geo.Rect(5, 5, 5, 5)); diff --git a/types/heremaps/index.d.ts b/types/heremaps/index.d.ts index fee3bbab04..28b29bfc09 100644 --- a/types/heremaps/index.d.ts +++ b/types/heremaps/index.d.ts @@ -3,6 +3,7 @@ // Definitions by: Joshua Efiong // Bernd Hacker // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped +// TypeScript Version: 2.1 declare namespace H { /***** Map *****/