UNPKG

ag-grid-community

Version:

Advanced Data Grid / Data Table supporting Javascript / Typescript / React / Angular / Vue

16 lines (15 loc) 614 B
import { ColumnApi } from "../columns/columnApi"; import { GridApi } from "../gridApi"; /** * Enables types safe create of the given type without the need to set the common grid properties * that will be merged with the object in a centralised location. */ export declare type WithoutGridCommon<T extends AgGridCommon<any, any>> = Omit<T, keyof AgGridCommon<any, any>>; export interface AgGridCommon<TData, TContext> { /** The grid api. */ api: GridApi<TData>; /** The column api. */ columnApi: ColumnApi; /** Application context as set on `gridOptions.context`. */ context: TContext; }