From 5b715ad1e9111c9ca06860abe0b58c2ad1efb15b Mon Sep 17 00:00:00 2001 From: golyalpha Date: Sat, 28 Jul 2018 02:14:23 +0200 Subject: [PATCH] Fix typing error in PolygonGraphics [Cesium] (#27563) * Fix typing error in PolygonGraphics The property outlineColor of PolygonGraphics can accept both Property and Color types. [Discussion on AnalyticalGraphicsInc/cesium](https://github.com/AnalyticalGraphicsInc/cesium/issues/6831) * Update version * Removed the Color type from outlineColor typedef. --- types/cesium/index.d.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/types/cesium/index.d.ts b/types/cesium/index.d.ts index 967c124bac..f2bb11479c 100644 --- a/types/cesium/index.d.ts +++ b/types/cesium/index.d.ts @@ -1,8 +1,9 @@ -// Type definitions for cesium 1.46 +// Type definitions for cesium 1.47 // Project: http://cesiumjs.org // Definitions by: Aigars Zeiza // Harry Nicholls // Jared Szechy +// Radek Goláň jr. // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.3 @@ -2370,7 +2371,7 @@ declare namespace Cesium { stRotation: Property; fill: Property; outline: Property; - outlineColor: Property; + outlineColor: Color; outlineWidth: Property; perPositionHeight: Property; constructor(options?: {