ag-grid-enterprise icon indicating copy to clipboard operation
ag-grid-enterprise copied to clipboard

typescript types are not exported from enterprise version

Open pitersonfascist opened this issue 6 years ago • 1 comments

I'm submitting a ... (check one with "x")

[ x] bug report => search github for a similar issue or PR before submitting
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/ceolter/ag-grid-enterprise/blob/master/CONTRIBUTING.md#question

Current behavior

Generic types are not exported from the ag-grid-community, like MenuItemDef, ColDef, ValueGetterParams, ValueSetterParams, ColumnState. In my TS application requires installing ag-grid-community just to use types from there. Also ColumnState not in the main file, it requires to import {ColumnState} from 'ag-grid-community/dist/lib/columnController/columnController';

Expected behavior

I want to use only ag-grid-enterprise version to build and to use types.

  • ag-Grid-Enterprise version: 20.0
  • Language: [TypeScript 2.6]

pitersonfascist avatar Feb 05 '19 09:02 pitersonfascist

This is also an issue with the new modules, for example @ag-grid-enterprise/core does not export the types that are in @ag-grid-community/core

dturcotte avatar Nov 19 '19 18:11 dturcotte