From e971807506704d71ef6edaf10c09d96d77965a90 Mon Sep 17 00:00:00 2001 From: Arman Dezfuli-Arjomandi Date: Fri, 23 Sep 2016 08:42:21 -0400 Subject: [PATCH] Add strokeLinejoin prop to in react.d.ts (#11418) * Add strokeLinejoin prop to in react.d.ts * String literal types for strokeLinecap and strokeLinejoin --- react/react.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/react/react.d.ts b/react/react.d.ts index 30ab2db256..2f762e0974 100644 --- a/react/react.d.ts +++ b/react/react.d.ts @@ -2104,7 +2104,8 @@ declare namespace __React { stopOpacity?: number | string; stroke?: string; strokeDasharray?: string; - strokeLinecap?: string; + strokeLinecap?: "butt" | "round" | "square" | "inherit"; + strokeLinejoin?: "miter" | "round" | "bevel" | "inherit"; strokeMiterlimit?: string; strokeOpacity?: number | string; strokeWidth?: number | string;