diff --git a/src/index.d.ts b/src/index.d.ts index 6a0a8f7853..ab372b3c2a 100644 --- a/src/index.d.ts +++ b/src/index.d.ts @@ -110,7 +110,7 @@ export interface ComponentConstructor

// Type alias for a component instance considered generally, whether stateless or stateful. export type AnyComponent

= | FunctionComponent

- | Component; + | ComponentConstructor; export interface Component

{ componentWillMount?(): void;