Update index.d.ts

This commit is contained in:
Cameron Little
2017-05-24 09:40:34 -07:00
committed by GitHub
parent a524192bf5
commit bedfaf0249
+1 -1
View File
@@ -26,7 +26,7 @@ declare namespace React {
// ----------------------------------------------------------------------
type ReactType = string | ComponentClass<any> | StatelessComponent<any>;
type Component<P> = ComponentClass<P> | StatelessComponent<P>;
type ReactComponent<P> = ComponentClass<P> | StatelessComponent<P>;
type Key = string | number;
type Ref<T> = string | ((instance: T) => any);