lectra-tech/ld-react-feature-flags

issue on WithFlags hoc type definition

GiantKouKou opened this issue · 0 comments

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;