This commit is contained in:
Vincent Langlet
2019-02-25 19:01:35 +01:00
parent b5200f6fb7
commit 8ac6e17a4d
+1 -2
View File
@@ -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<any> = Memoized2;
// // $ExpectError Property '$$typeof' is missing in type
// const specialSfc2: React.SpecialSFC = props => null;
const propsWithChildren: PropsWithChildren<Props> = {
const propsWithChildren: React.PropsWithChildren<Props> = {
hello: "world",
foo: 42,
children: functionComponent,