import BaseFoundation, { DefaultAdapter } from '../base/foundation'; export interface TableCellAdapter extends DefaultAdapter { notifyClick: (record: Record, e: any) => void; } export default class TableCellFoundation extends BaseFoundation { handleClick(e: any) { this._adapter.notifyClick(this.getProp('record'), e); } }