diff --git a/lib/react-dom.js b/lib/react-dom.js index 9e7da2499b6..0d200f3d55f 100644 --- a/lib/react-dom.js +++ b/lib/react-dom.js @@ -619,7 +619,7 @@ type ReactDOM$HTMLElementProps = ReactDOM$ElementProps & { spellCheck?: ReactDOM$BooleanishString, suppressContentEditableWarning?: boolean, title?: string, - translate?: $TODO$CaseInsensitive<"" | "yes" | "no"> + translate?: $TODO$CaseInsensitive<"yes" | "no"> }; type ReactDOM$SVGElementProps = ReactDOM$ElementProps & { @@ -641,12 +641,10 @@ type ReactDOM$SVGElementProps = ReactDOM$ElementProps & { }; type ReactDOM$BooleanishString = - | "" | $TODO$CaseInsensitive<"true" | "false"> | boolean; -type ReactDOM$Boolean = - | "" +type ReactDOM$Boolean = | $TODO$CaseInsensitive | boolean; diff --git a/tests/react_dom/props_boolean.js b/tests/react_dom/props_boolean.js index eff01bd92c1..5bee52c2d2c 100644 --- a/tests/react_dom/props_boolean.js +++ b/tests/react_dom/props_boolean.js @@ -7,7 +7,7 @@ import React from "react";