Closed m2icd closed 9 months ago
We tried to reproduce this issue, but we're not facing typescript error while using either getSlicers() or getSlicerState() API. We tried using the API in our Developer Sandbox typescript editor and not facing any errors.
Please provide additional details regarding how you are using these methods and some code snapshots can help us better understand the issue.
Unable to reproduce the issue
I noticed getSlicers() is declared to return Promise<IVisual[]> but in reality, like getVisuals(), it returns Promise<VisualDescriptor[]>. I can make successful calls like getSlicerState() and exportData() even though my typescript is telling me I shouldn't be able to.