issue on WithFlags hoc type definition
GiantKouKou opened this issue · 0 comments
GiantKouKou commented
there is an issue in type definition of the WithFlags Hoc
It returns a function that don't take any parameter
But it potentially have a props parameter
export const WithFlags: ( key: string ) => (ComponentA: any, ComponentB?: any) => (props:any) => JSX.Element;