Affect returned value to typed variables in getters

Also, remove name from contributors list
This commit is contained in:
jansule
2018-08-07 11:08:30 +02:00
parent bbf5ad55bb
commit 44db229c6e
2 changed files with 7 additions and 8 deletions
-1
View File
@@ -9,7 +9,6 @@
// Yair Tawil <https://github.com/yairtawil>
// Pierre Marchand <https://github.com/pierremarc>
// Hauke Stieler <https://github.com/hauke96>
// Jan Suleiman <https://github.com/jansule>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// Definitions partially generated using tsd-jsdoc (https://github.com/englercj/tsd-jsdoc)
+7 -7
View File
@@ -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