mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-11-29 17:51:46 +00:00
WIP
WIP WIP WIP WIP WIP WIP: Remove trailing newlines WIP WIP WIP WIP WIP WIP WIP WIP: All tests pass WIP WIP WIP
This commit is contained in:
@@ -31,7 +31,7 @@ class TestComponent extends React.Component<{ test: string },{}> {
|
||||
{
|
||||
let c2Factory = React.createFactory(TestComponent);
|
||||
ReactDOM.render(c2Factory({
|
||||
test: "hello"
|
||||
test: "hello"
|
||||
}) , null);
|
||||
}
|
||||
|
||||
@@ -55,6 +55,6 @@ class TestComponent2 extends React.Component<{ test: string },{}> {
|
||||
// Type 'void' is not assignable to type 'ComponentClass<{ test: string; }>'.
|
||||
let c4Factory = React.createFactory(<React.ClassicComponentClass<{test:string}>><any> reactiveComponent(TestComponent2));
|
||||
ReactDOM.render(c4Factory({
|
||||
test: "hello"
|
||||
test: "hello"
|
||||
}) , null);
|
||||
}
|
||||
Reference in New Issue
Block a user