diff --git a/types/openlayers/index.d.ts b/types/openlayers/index.d.ts index 01d7e120f5..37cac7e65d 100644 --- a/types/openlayers/index.d.ts +++ b/types/openlayers/index.d.ts @@ -9,7 +9,6 @@ // Yair Tawil // Pierre Marchand // Hauke Stieler -// Jan Suleiman // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // Definitions partially generated using tsd-jsdoc (https://github.com/englercj/tsd-jsdoc) diff --git a/types/openlayers/openlayers-tests.ts b/types/openlayers/openlayers-tests.ts index 240f77d033..6e28ad4cd2 100644 --- a/types/openlayers/openlayers-tests.ts +++ b/types/openlayers/openlayers-tests.ts @@ -1133,13 +1133,13 @@ styleStroke.setLineDashOffset(10); styleStroke.setMiterLimit(20); styleStroke.setWidth(5); -styleStroke.getColor(); -styleStroke.getLineCap(); -styleStroke.getLineJoin(); -styleStroke.getLineDash(); -styleStroke.getLineDashOffset(); -styleStroke.getMiterLimit(); -styleStroke.getWidth(); +const strokeColor: ol.Color|ol.ColorLike = styleStroke.getColor(); +const strokeLineCap: string = styleStroke.getLineCap(); +const strokeLineJoin: string = styleStroke.getLineJoin(); +const strokeLineDash: number[] = styleStroke.getLineDash(); +const strokeLineDashOffset: number = styleStroke.getLineDashOffset(); +const strokeMiterLimit: number = styleStroke.getMiterLimit(); +const strokeWidth: number = styleStroke.getWidth(); // // ol.proj