# Type alias InferableComponentEnhancerWithProps<TInjectedProps, TNeedsProps>

InferableComponentEnhancerWithProps<TInjectedProps, TNeedsProps>: (<C>(component) => ConnectedComponent<C, Mapped<DistributiveOmit<GetLibraryManagedProps<C>, keyof Shared<TInjectedProps, GetLibraryManagedProps<C>>> & TNeedsProps & ConnectPropsMaybeWithoutContext<TNeedsProps & GetProps<C>>>>)

#### Type Parameters

- TInjectedProps
- TNeedsProps

#### Type declaration

- - <C>(component): ConnectedComponent<C, Mapped<DistributiveOmit<GetLibraryManagedProps<C>, keyof Shared<TInjectedProps, GetLibraryManagedProps<C>>> & TNeedsProps & ConnectPropsMaybeWithoutContext<TNeedsProps & GetProps<C>>>>

  - #### Type Parameters

    - C extends ComponentType<Matching<TInjectedProps, GetProps<C>>>

    #### Parameters

    - component: C

    #### Returns ConnectedComponent<C, Mapped<DistributiveOmit<GetLibraryManagedProps<C>, keyof Shared<TInjectedProps, GetLibraryManagedProps<C>>> & TNeedsProps & ConnectPropsMaybeWithoutContext<TNeedsProps & GetProps<C>>>>

- Defined in common/temp/node_modules/.pnpm/react-redux@8.1.3_91ee3f21853aee6f4038f22086c31182/node_modules/react-redux/es/types.d.ts:54