Reputation: 113
I am having a problem implementing AG Grids ToolTip. When i follow the Example at https://www.ag-grid.com/documentation/angular/component-tooltip/#example-custom-tooltip-component and try to
import { ITooltipAngularComp } from '@ag-grid-community/angular';
I get this error
Cannot find module '@ag-grid-community/angular' or its corresponding type declarations.
I import it like this normally
`import {GridOptions} from 'ag-grid-community'`;
but when i Import it like this
`import { ITooltipAngularComp } from 'ag-grid-community'`
I get this below error so i am a bit lost. I am by the way on version 25.x
Module '"../../../../../../node_modules/ag-grid-community/main"' has no exported member 'ITooltipAngularComp'.
Upvotes: 0
Views: 1002
Reputation: 1383
So assuming your imports are like this:
"ag-grid-community": "^25.0.1",
"ag-grid-angular": "^25.0.1",
I think the ITooltipAngularComp import should look like this:
import { ITooltipAngularComp } from 'ag-grid-angular';
Upvotes: 1