diff --git a/types/react/test/index.ts b/types/react/test/index.ts index fffde44f52..7f8b13a437 100644 --- a/types/react/test/index.ts +++ b/types/react/test/index.ts @@ -13,7 +13,6 @@ import TransitionGroup = require("react-addons-transition-group"); import update = require("react-addons-update"); import createReactClass = require("create-react-class"); import * as DOM from "react-dom-factories"; -import { PropsWithChildren } from '../index'; // NOTE: forward declarations for tests declare function setInterval(...args: any[]): any; @@ -805,7 +804,7 @@ const sfc: React.SFC = Memoized2; // // $ExpectError Property '$$typeof' is missing in type // const specialSfc2: React.SpecialSFC = props => null; -const propsWithChildren: PropsWithChildren = { +const propsWithChildren: React.PropsWithChildren = { hello: "world", foo: 42, children: functionComponent,