From ce5c7e4004b360a08c39486c4e38093ccdf3edc8 Mon Sep 17 00:00:00 2001 From: johanrd Date: Wed, 21 Feb 2024 14:05:06 +0100 Subject: [PATCH] 247 generic data type for Column --- ember-headless-table/src/plugins/metadata/helpers.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ember-headless-table/src/plugins/metadata/helpers.ts b/ember-headless-table/src/plugins/metadata/helpers.ts index aea4eefa..7aa3d464 100644 --- a/ember-headless-table/src/plugins/metadata/helpers.ts +++ b/ember-headless-table/src/plugins/metadata/helpers.ts @@ -3,10 +3,10 @@ import { Metadata } from './plugin'; import type { Column, Table } from '[public-types]'; -export const forColumn = (column: Column, key: string) => { +export const forColumn = (column: Column, key: string) => { return options.forColumn(column, Metadata)[key]; }; -export const forTable = (table: Table, key: string) => { +export const forTable = (table: Table, key: string) => { return options.forTable(table, Metadata)[key]; };