mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-02-28 03:32:56 +00:00
10 lines
504 B
TypeScript
10 lines
504 B
TypeScript
import { ReactType } from "react";
|
|
import { AuthBaseConfig, AuthWrapperDecorator } from "redux-auth-wrapper";
|
|
import { AuthWrapperConfig, InjectedAuthProps } from "redux-auth-wrapper/authWrapper";
|
|
|
|
export type ConnectedAuthWrapperConfig<OwnProps = {}, State = {}> = AuthWrapperConfig & AuthBaseConfig<OwnProps, State>;
|
|
|
|
export default function connectedAuthWrapper<OwnProps = {}, State = {}>(
|
|
config: ConnectedAuthWrapperConfig<OwnProps, State>
|
|
): AuthWrapperDecorator<OwnProps & InjectedAuthProps>;
|