Incorrect typing on @mui/x-data-grid-pro
export GridRenderCellParams['api']
, shows GridApiCommunity
, should be GridApiPro
#15963
Labels
bug 🐛
Something doesn't work
component: data grid
This is the name of the generic UI component, not the React module!
status: waiting for maintainer
These issues haven't been looked at yet by a maintainer
Steps to reproduce
Steps:
mui-x/packages/x-data-grid-pro/src/typeOverloads/reexports.ts
Line 11 in 38eabdb
GridApiPro
is exportedmui-x/packages/x-data-grid-pro/src/index.ts
Line 13 in 38eabdb
Current behavior
community typing for GridApi being surfaced in x-data-grid-pro
Expected behavior
GridApiPro being present in pro export for GridRenderCellParams (example:
GridRenderCellParams['api']['getExpandedDetailPanels']
)Context
proper typing
Your environment
npx @mui/envinfo
Search keywords: GridApiPro, GridRenderCellParams, @mui/x-data-grid-pro
The text was updated successfully, but these errors were encountered: