mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-12-03 11:41:44 +00:00
Fix
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user