From c34962bc59ffe35185dd67e2e9604eb69be10a35 Mon Sep 17 00:00:00 2001 From: Cameron Little Date: Thu, 25 May 2017 09:29:01 -0700 Subject: [PATCH] Update index.d.ts --- types/react/index.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/types/react/index.d.ts b/types/react/index.d.ts index 2d6a3c6d08..17141985da 100644 --- a/types/react/index.d.ts +++ b/types/react/index.d.ts @@ -26,7 +26,7 @@ declare namespace React { // ---------------------------------------------------------------------- type ReactType = string | ComponentClass | StatelessComponent; - type ReactComponent

= ComponentClass

| StatelessComponent

; + type ComponentType

= ComponentClass

| StatelessComponent

; type Key = string | number; type Ref = string | ((instance: T) => any);