mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-01-30 05:27:30 +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>;
|