ohctechv3/.svn/pristine/d1/d1cad14d45a9314e972735d95f148ef16a30a532.svn-base
2024-10-28 15:03:36 +05:30

16 lines
670 B
Plaintext

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 type WithoutGridCommon<T extends AgGridCommon<any, any>> = Omit<T, keyof AgGridCommon<any, any>>;
export interface AgGridCommon<TData, TContext> {
/** The grid api. */
api: GridApi<TData>;
/** @deprecated v31 ColumnApi has been deprecated and all methods moved to the api. */
columnApi: ColumnApi;
/** Application context as set on `gridOptions.context`. */
context: TContext;
}