mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-28 12:30:21 +08:00
Revert "Change most uses of ComponentClass<P> to a type that represents the class"
This reverts commit 7bb2b48cd2.
Conflicts:
react/react.d.ts
This commit is contained in:
1 parent
e12488eb5c
commit
54e4632ca7
2 files changed
+9
-10
No files matched your search
@@ -32,7 +32,7 @@ var INPUT_REF: string = "input";
|
||||
// Top-Level API
|
||||
// --------------------------------------------------------------------------
|
||||
|
||||
var reactClass = React.createClass<Props>({
|
||||
var reactClass: React.ComponentClass<Props> = React.createClass<Props>({
|
||||
getDefaultProps: () => {
|
||||
return <Props>{
|
||||
hello: undefined,
|
||||
|
||||
Reference in new issue
Block a user