Description
It would be incredibly useful to use TS data types returned from the API, ie, the ones listed here:
https://docs.developers.optimizely.com/feature-experimentation/reference/
Specifically, I'm interested in the types for this endpoint:
https://docs.developers.optimizely.com/feature-experimentation/reference/list_flags
NOTE: these might already exist, but after searching for quite a while, I have not yet been able to find them.
Benefits
At the moment, when calling the API via TypeScript, I will have to define my own types to process the response, which is a brittle solution.
Having access to the actual types returned would be far more robust.
Detail
Suggest exposing the types via an NPM library, or adding them to to the existing @optimizely/optimizely-sdk library.
Examples
No response
Risks/Downsides
No response