Change most uses of ComponentClass<P> to a type that represents the class

This more accurately reflects that createClass returns a class, not an
instance of a class. This will be more important as React v0.13 is released
which supports using ES6 classes as components.
This commit is contained in:
jbrantly
2015-01-19 15:11:02 -05:00
parent 2deb7cab53
commit 7bb2b48cd2
2 changed files with 10 additions and 9 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ var INPUT_REF: string = "input";
// Top-Level API
// --------------------------------------------------------------------------
var reactClass: React.ComponentClass<Props> = React.createClass<Props>({
var reactClass = React.createClass<Props>({
getDefaultProps: () => {
return <Props>{
hello: undefined,