mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
10 lines
470 B
TypeScript
10 lines
470 B
TypeScript
import { ReactType } from "react";
|
|
import { AuthBaseConfig, AuthWrapperDecorator } from ".";
|
|
import { AuthWrapperConfig, InjectedAuthProps } from "./authWrapper";
|
|
|
|
export type ConnectedAuthWrapperConfig<OwnProps = {}, State = {}> = AuthWrapperConfig & AuthBaseConfig<OwnProps, State>;
|
|
|
|
export default function connectedAuthWrapper<OwnProps = {}, State = {}>(
|
|
config: ConnectedAuthWrapperConfig<OwnProps, State>
|
|
): AuthWrapperDecorator<OwnProps & InjectedAuthProps>;
|