import { TranslateResult } from 'vue-i18n';

/**
 * for QTable::props.columns
 */
export default interface QColumn {
  field?: string | ((val: any) => any);
  label?: string | TranslateResult;
  name?: string;
  align?: string;
  format?(val: any): void;
  handler?(id: any, options?: any): void;
  [key: string]: any;
}
