diff --git a/types/flux/lib/FluxContainer.d.ts b/types/flux/lib/FluxContainer.d.ts index 54b578cc1d..4d49293fa6 100644 --- a/types/flux/lib/FluxContainer.d.ts +++ b/types/flux/lib/FluxContainer.d.ts @@ -37,8 +37,10 @@ export interface RealOptions { export type ComponentConstructor = React.ComponentClass | React.StatelessComponent; +export type StoresList = Array>; + export interface ComponentStatic { - getStores(maybeProps?: TProps, maybeContext?: TContext): Array>; + getStores(maybeProps?: TProps, maybeContext?: TContext): StoresList; calculateState(prevState: TState, maybeProps?: TProps, maybeContext?: TContext): TState; }