Is your feature request related to a problem? Please describe.
It's currently not possible to access the LDProps Typescript interface directly since the library does not export it.
Describe the solution you'd like
I would like to be able to import the LDProps type like this in React code:
import type {LDProps} from 'launchdarkly-react-client-sdk'
interface MyProps extends LDProps, SomeCommonProps { }
Describe alternatives you've considered
The current workarounds have involved duplicating the TS interface into the codebase or attempting to infer it from the withLDConsumer parameter types. The latter option does not work well with IDEs and IntelliSense.
Additional context
N/A
Is your feature request related to a problem? Please describe.
It's currently not possible to access the
LDPropsTypescript interface directly since the library does not export it.Describe the solution you'd like
I would like to be able to import the
LDPropstype like this in React code:Describe alternatives you've considered
The current workarounds have involved duplicating the TS interface into the codebase or attempting to infer it from the
withLDConsumerparameter types. The latter option does not work well with IDEs and IntelliSense.Additional context
N/A